This builds again
This commit is contained in:
+1
-1
Submodule common updated: 68eddcfcbb...6bcaf460b9
@@ -1,6 +1,7 @@
|
|||||||
OUTDIR=out
|
OUTDIR=out
|
||||||
|
|
||||||
all: $(OUTDIR)
|
all: $(OUTDIR)
|
||||||
|
$(MAKE) -C common
|
||||||
$(MAKE) -C src
|
$(MAKE) -C src
|
||||||
|
|
||||||
debug: export CXXFLAGS+=-g
|
debug: export CXXFLAGS+=-g
|
||||||
|
|||||||
+2
-4
@@ -1,9 +1,9 @@
|
|||||||
#include directories
|
#include directories
|
||||||
INCLUDES+=. common libmap
|
INCLUDES+=. ../common/graphics ../common/map
|
||||||
|
|
||||||
#libraries
|
#libraries
|
||||||
#the order of the $(LIBS) is important, at least for MinGW
|
#the order of the $(LIBS) is important, at least for MinGW
|
||||||
LIBS+=libcommon.a libmap.a
|
LIBS+=../common/libcommon.a
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
LIBS+=-lmingw32
|
LIBS+=-lmingw32
|
||||||
endif
|
endif
|
||||||
@@ -33,8 +33,6 @@ OUT=$(addprefix $(OUTDIR)/,map)
|
|||||||
|
|
||||||
#targets
|
#targets
|
||||||
all: $(OBJ) $(OUT)
|
all: $(OBJ) $(OUT)
|
||||||
$(MAKE) -C common
|
|
||||||
$(MAKE) -C libmap
|
|
||||||
$(CXX) $(CXXFLAGS) -o $(OUT) $(OBJ) $(LIBS)
|
$(CXX) $(CXXFLAGS) -o $(OUT) $(OBJ) $(LIBS)
|
||||||
|
|
||||||
$(OBJ): | $(OBJDIR)
|
$(OBJ): | $(OBJDIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user