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.
|
CXXFLAGS := -std=c++23 -O0 -g3 -ggdb \
|
|
-Ientt/single_include
|
|
LDFLAGS := -lSDL2 -lSDL2_image
|
|
|
|
OBJS := $(subst .cpp,.o,$(wildcard *.cpp))
|
|
|
|
all: game
|
|
|
|
clean:
|
|
rm -f game $(OBJS)
|
|
|
|
game: $(OBJS)
|
|
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
|
|
|