simulation/Makefile

17 lines
189 B
Makefile
Raw Normal View History

2022-10-30 23:44:30 +01:00
CXX=g++
LDFLAGS= -lSDL2 -lm
CXXFLAGS= -g -Wall
SOURCES = $(wildcard *.cpp)
all: sim
sim: $(SOURCES)
$(CXX) $(CXXFLAGS) -o sim $(SOURCES) $(LDFLAGS)
run: sim
./sim
clean:
rm sim *.o