aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..26debf0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+OBJS=main.obj
+CEVersion=400
+CePlatform=
+CECrtMT=C
+CePlatform=WIN32_PLATFORM_UNKNOWN
+CESubsystem=windowsce,4.0
+CENoDefaultLib=libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib
+LINK=link
+LINKFLAGS=commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"mainWCRTStartup" /incremental:no /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB
+CFLAGS=/nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c
+
+sig3romdump.exe: $(OBJS)
+ $(LINK) /out:$@ $(LINKFLAGS) $(OBJS)
+
+clean:
+ -erase main.obj
+ -erase sig3romdump.exe \ No newline at end of file