Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FLAGS := -std=c++17 -pedantic -Wall -Wextra
- LIBS := -lsfml-window -lsfml-graphics -lsfml-system
- all: application.o GameObj.o gamehandler.o state.o gui.o
- g++ $(FLAGS) application.o GameObj.o gamehandler.o state.o gui.o $(LIBS)
- application.o: cc/application.cc
- g++ $(FLAGS) cc/application.cc -c -o application.o
- gamehandler.o: cc/GameHandler.cc
- g++ $(FLAGS) cc/GameHandler.cc -c -o gamehandler.o
- state.o: cc/state.cc cc/Game_State.cc cc/Name_State.cc cc/Pause_Menu_State.cc cc/Start_Menu_State.cc
- g++ $(FLAGS) cc/state.cc -c -o state.o
- gui.o: cc/gui.cc
- g++ $(FLAGS) cc/gui.cc -c -o gui.o
- GameObj.o: cc/GameObj.cc cc/Player.cc cc/Terrain.cc cc/Wall_Of_Death.cc cc/Coin.cc cc/Goal.cc cc/Player.cc cc/Spike.cc
- g++ $(FLAGS) cc/GameObj.cc -c -o GameObj.o
- .PHONY: clean
- clean:
- rm *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement