aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: f6797c76c3777f2b58875e7a1fdaf5b485666a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: FORCE

CXXFLAGS += -std=c++20
LDFLAGS += -lstdc++

OBJS += main.o
OBJS += backend/EnemyFactory.o
OBJS += backend/LocationFactory.o
OBJS += backend/ObjectFactory.o
OBJS += backend/Object.o

main: $(OBJS)

memtest: main FORCE
	valgrind ./$<

compile_commands.json:
	compiledb make -Bn