From b43099221e2af2dfca8100b3fdf59d89c122f9d9 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 5 Dec 2021 13:20:53 +0900 Subject: Initial --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3