95362286f8
region_api.cpp had a bug, where a glue function's name was used twice. It was an easy catch, but there was an issue in the new script, where I was counting from 0 instead of 1. As a result, I was chasing a segfault for 5 hours.
25 lines
336 B
Makefile
25 lines
336 B
Makefile
#for use on Windows:
|
|
|
|
#MKDIR=mkdir
|
|
#RM=del /y
|
|
|
|
#CXXFLAGS+=-static-libgcc -static-libstdc++ -g -fno-inline-functions -Wall
|
|
CXXFLAGS+=-static-libgcc -static-libstdc++
|
|
|
|
export
|
|
|
|
OUTDIR=out
|
|
|
|
all: $(OUTDIR)
|
|
$(MAKE) -C common
|
|
$(MAKE) -C server
|
|
$(MAKE) -C client
|
|
|
|
$(OUTDIR):
|
|
mkdir $(OUTDIR)
|
|
|
|
clean:
|
|
$(RM) *.o *.a *.exe
|
|
|
|
rebuild: clean all
|