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
253 B
Makefile

5 months ago
CXXFLAGS := -std=c++23 -O0 -g3 -ggdb \
-Iinclude -Ientt/single_include
5 months ago
LDFLAGS := -lSDL2 -lSDL2_image
OBJS := $(subst .cpp,.o,$(wildcard *.cpp))
all: game
clean:
rm -f game $(OBJS)
game: $(OBJS)
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)