diff options
| author | Lord_Evil <omw@three.com.au> | 2010-08-25 19:55:50 +1000 |
|---|---|---|
| committer | Lord_Evil <omw@three.com.au> | 2010-08-25 19:55:50 +1000 |
| commit | ab7ce65d1de08401e0b0fbf7c7491c8abf9d71a7 (patch) | |
| tree | 38ad49e84572ab2a6b2af6eadd92f5dda4ecf165 /core/my.Makefile | |
| parent | 599d73442416d9bad663e4d0900265e073946600 (diff) | |
Going this way, plz
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 + |
