Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CPP = g++
- FLAGS = -c -Wall
- LFLAGS = -lsfml-graphics -lsfml-window -lsfml-system
- EXEC = graphics
- OBJS = graphics-window.o
- default:${EXEC}
- clean:
- rm -f ${EXEC}
- rm -f *.o
- run: ${EXEC}
- ./${EXEC}
- ${EXEC}:${OBJS}
- ${CPP} ${FLAGS} -o ${EXEC} ${OBJS} ${LFLAGS}
- .cpp.o:
- ${CPP} ${FLAGS} -c $<
- graphics-window.o: graphics-window.cpp
- #g++ -c graphics-window.cpp
- #g++ -o graphics graphics-window.o -lsfml-graphics -lsfml-window -lsfml-system
- #####################################
- #g++ -c -Wall -c graphics-window.cpp
- #g++ -c -Wall -o graphics graphics-window.o -lsfml-graphics -lsfml-window -lsfml-system
- #g++: graphics-window.o: linker input file unused because linking not done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement