summaryrefslogtreecommitdiff
path: root/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/Makefile b/core/Makefile
index 1613c29..1c02f90 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1,19 +1,16 @@
+include Makefile.inc
CFLAGS=-g -mwindows -mwin32 -D DEBUG -I../api/
LDFLAGS=-static-libgcc -Wl,--subsystem=windows
CXXFLAGS=${CFLAGS}
CPPFLAGS =
-CC=i686-pc-mingw32-gcc
-CXX=i686-pc-mingw32-g++
-STRIP=i686-pc-mingw32-strip
-LD=i686-pc-mingw32-ld
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
+#$(STRIP) core.exe
+#upx -9 core.exe
clean:
rm *.o
rm core.exe