cepheid

An Aurora 4X clone
Log | Files | Refs | README

commit 85c5033776d771b8aa306238c001c7fd0f1862e1
parent 71780bae9d4575d8cdc11b9c2014eaf4e405baf3
Author: hhvn <dev@hhvn.uk>
Date:   Thu, 24 Nov 2022 00:19:06 +0000

Track config.mk

Diffstat:
M.gitignore | 1-
Aconfig.mk | 6++++++
Adev/config.mk | 17+++++++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -7,4 +7,3 @@ saves/ core.* tags perf.* -config.mk diff --git a/config.mk b/config.mk @@ -0,0 +1,6 @@ +STYLE = aurora +SAVEDIR = saves +RAYLIB = -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 +LDFLAGS = $(RAYLIB) $(DBLIB) + +# include dev/config.mk diff --git a/dev/config.mk b/dev/config.mk @@ -0,0 +1,17 @@ +CFLAGS += -Wall -g3 -O0 +CFLAGS += -DDEBUG +CFLAGS += -DCHECK_FRAME_MEM_FREE + +all: tags checks +tags: $(SRC) + ctags --exclude=data/*.h --exclude=data/icons/*.h -R . + +checks: $(SRC) + ./dev/checkalloc.sh + +test: all + gdb ./$(BIN) -ex 'set confirm on' -ex run -ex bt -ex quit +gdb: all + gdb ./$(BIN) + +.PHONY: tags checks test gdb