This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Ratstail91 1826baa48d The submodules and common/ compiles
Please note that there are duplicate copies of vector2.hpp and
bounding_box.hpp
2016-11-26 16:16:37 +11:00

27 lines
501 B
Makefile

#output
export OUTDIR=../..
export OUT=$(addprefix $(OUTDIR)/,libcommon.a)
all: $(OUTDIR)
$(MAKE) -C debugging
$(MAKE) -C global_defines
$(MAKE) -C network
$(MAKE) -C utilities
debug: export CXXFLAGS+=-g
debug: clean all
$(OUTDIR):
mkdir $(OUTDIR)
clean:
ifeq ($(OS),Windows_NT)
$(RM) *.o *.a *.exe
else ifeq ($(shell uname), Linux)
find . -type f -name *.o -exec rm -f -r -v {} \;
find . -type f -name *.a -exec rm -f -r -v {} \;
rm -f -v out/client out/server
endif
rebuild: clean all