Added the debug and release targets
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
#RM=del /y
|
||||
|
||||
#CXXFLAGS+=-static-libgcc -static-libstdc++ -g -fno-inline-functions -Wall
|
||||
CXXFLAGS+=-static-libgcc -static-libstdc++
|
||||
#CXXFLAGS+=-static-libgcc -static-libstdc++
|
||||
|
||||
export
|
||||
#export
|
||||
|
||||
OUTDIR=out
|
||||
|
||||
@@ -15,6 +15,12 @@ all: $(OUTDIR)
|
||||
$(MAKE) -C server
|
||||
$(MAKE) -C client
|
||||
|
||||
debug: export CXXFLAGS+=-g
|
||||
debug: clean all
|
||||
|
||||
release: export CXXFLAGS+=-static-libgcc -static-libstdc++
|
||||
release: clean all
|
||||
|
||||
$(OUTDIR):
|
||||
mkdir $(OUTDIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user