diff options
Diffstat (limited to 'core/my.Makefile')
-rw-r--r-- | core/my.Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/my.Makefile b/core/my.Makefile new file mode 100644 index 0000000..63a3f52 --- /dev/null +++ b/core/my.Makefile @@ -0,0 +1,19 @@ +include Makefile.inc +CFLAGS=-g -mwindows -mwin32 -D DEBUG -I../api/ +CXXFLAGS=${CFLAGS} +LDFLAGS=-static-libgcc -Wl,--subsystem=windows +CPPFLAGS = +LNK_COMMON=-lkernel32 +MAINOBJS=main.o + +all: main +main: $(MAINOBJS) + $(CXX) $(MAINOBJS) $(LNK_COMMON) $(LDFLAGS) -o core.exe + +#$(STRIP) core.exe +#upx -9 core.exe + +clean: + rm *.o + rm core.exe + |