Skip to content

Instantly share code, notes, and snippets.

@Noir-
Noir- / Makefile
Created Mar 18, 2017
Modified Speedblocks Makefile
View Makefile
default: sfml
sfml: main.o gameField.o optionSet.o pieces.o gamePlay.o randomizer.o textures.o sounds.o gui.o network.o packetcompress.o gameFieldDrawer.o EmptyResourcePath.o
g++ -LTGUI-0.7.3/lib/ -LSFML-2.4.2/lib/ -ITGUI-0.7.3/include/ -Iboost_1_63_0/ -ISFML-2.4.2/include/ -std=c++11 main.o gameField.o optionSet.o pieces.o gamePlay.o randomizer.o textures.o sounds.o gui.o network.o packetcompress.o gameFieldDrawer.o EmptyResourcePath.o -o sfml -ltgui -lsfml-graphics -lsfml-window -lsfml-audio -lsfml-network -lsfml-system
main.o: main.cpp pieces.h gameField.h gamePlay.h textures.h optionSet.h randomizer.h sounds.h gui.h network.h packetcompress.h
g++ -LTGUI-0.7.3/lib/ -LSFML-2.4.2/lib/ -ITGUI-0.7.3/include/ -Iboost_1_63_0/ -ISFML-2.4.2/include/ -std=c++11 -c main.cpp -o main.o
gameField.o: gameField.cpp gameField.h
g++ -LTGUI-0.7.3/lib/ -LSFML-2.4.2/lib/ -ITGUI-0.7.3/include/ -Iboost_1_63_0/ -ISFML-2.4.2/include/ -std=c++11 -c gameField.cpp -o gameField.o