You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
324 B
Makefile
15 lines
324 B
Makefile
CXXFLAGS := -std=c++23 -O0 -g3 -ggdb \
|
|
-Iinclude -Ientt/single_include -Isol2/include `pkg-config --cflags lua5.4`
|
|
LDFLAGS := -lSDL2 -lSDL2_image `pkg-config --libs lua5.4`
|
|
|
|
OBJS := $(subst .cpp,.o,$(wildcard *.cpp))
|
|
|
|
all: game
|
|
|
|
clean:
|
|
rm -f game $(OBJS)
|
|
|
|
game: $(OBJS)
|
|
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
|
|
|