]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Fix windows builds, add strip target for makefiles, update distro build makefiles...
[xonotic/gmqcc.git] / Makefile
index f7255d405fb5190cfdd52f7fd3335c3af93e1a87..96193e76abfa6175aca2ffcc013e69cfad6af5f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,11 @@ check: all
 test: all
        @ ./$(TESTSUITE)
 
+strip: $(GMQCC) $(QCVM) $(TESTSUITE)
+       strip $(GMQCC)
+       strip $(QCVM)
+       strip $(TESTSUITE)
+
 clean:
        rm -rf *.o $(GMQCC) $(QCVM) $(TESTSUITE) $(PAK) *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int
 
@@ -148,14 +153,14 @@ install-doc:
 
 # DO NOT DELETE
 
-pak.o: gmqcc.h opts.def
-ansi.o: gmqcc.h opts.def
-util.o: gmqcc.h opts.def
+ansi.o: platform.h gmqcc.h opts.def
+util.o: gmqcc.h opts.def platform.h
 stat.o: gmqcc.h opts.def
-fs.o: gmqcc.h opts.def
-conout.o: gmqcc.h opts.def
+fs.o: gmqcc.h opts.def platform.h
 opts.o: gmqcc.h opts.def
-test.o: gmqcc.h opts.def
+conout.o: gmqcc.h opts.def
+pak.o: gmqcc.h opts.def
+test.o: gmqcc.h opts.def platform.h
 main.o: gmqcc.h opts.def lexer.h
 lexer.o: gmqcc.h opts.def lexer.h
 parser.o: parser.h gmqcc.h opts.def lexer.h ast.h ir.h