summaryrefslogtreecommitdiff
path: root/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
new file mode 100644
index 0000000..e5568e1
--- /dev/null
+++ b/core/Makefile
@@ -0,0 +1,20 @@
+CFLAGS=-O2 -msse -fomit-frame-pointer -pipe -mwindows -mwin32 -D DEBUG -I../api/
+CXXFLAGS=${CFLAGS}
+LDFLAGS=-Wl,-O1 -static-libgcc
+CPPFLAGS =
+CC=i686-pc-mingw32-gcc
+CXX=i686-pc-mingw32-g++
+STRIP=i686-pc-mingw32-strip
+LD=i686-pc-mingw32-ld
+LNK_COMMON=
+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
+