This builds again

This commit is contained in:
2015-08-18 04:01:16 +10:00
parent 13fbedb87c
commit d7aef30c9a
3 changed files with 4 additions and 5 deletions
+1 -1
Submodule common updated: 68eddcfcbb...6bcaf460b9
+1
View File
@@ -1,6 +1,7 @@
OUTDIR=out
all: $(OUTDIR)
$(MAKE) -C common
$(MAKE) -C src
debug: export CXXFLAGS+=-g
+2 -4
View File
@@ -1,9 +1,9 @@
#include directories
INCLUDES+=. common libmap
INCLUDES+=. ../common/graphics ../common/map
#libraries
#the order of the $(LIBS) is important, at least for MinGW
LIBS+=libcommon.a libmap.a
LIBS+=../common/libcommon.a
ifeq ($(OS),Windows_NT)
LIBS+=-lmingw32
endif
@@ -33,8 +33,6 @@ OUT=$(addprefix $(OUTDIR)/,map)
#targets
all: $(OBJ) $(OUT)
$(MAKE) -C common
$(MAKE) -C libmap
$(CXX) $(CXXFLAGS) -o $(OUT) $(OBJ) $(LIBS)
$(OBJ): | $(OBJDIR)