12345678910111213141516171819202122232425 |
- FLAGS = -g -Wall -std=c++11 -O
- LIBS = -l Box2D -Wl,-rpath=/usr/local/lib/ -l SDL -l SDL_gfx -l SDL_image
- NAME = a.out
- FILES = main.cpp Terrain.cpp Cars/PickUp.cpp Cars/PinkLiner.cpp Car.cpp SnapFile.cpp
- default: build
- build: $(FILES)
- g++ $(FLAGS) $(FILES) $(LIBS) -o $(NAME)
- clean:
- $(RM) $(NAME)
|