a11867126c
This required that I switch from using a char array for the packet buffers to using malloc() and free(). They make more sense anyway, and I've learned (or relearned) something about casting.
24 lines
264 B
Makefile
24 lines
264 B
Makefile
#for use on Windows:
|
|
|
|
#MKDIR=mkdir
|
|
#RM=del /y
|
|
|
|
CXXFLAGS+=-static-libgcc -static-libstdc++ -g
|
|
|
|
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
|