Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COMPILER = g++
- OPTIONS = -std=c++11 -pthread
- LDFLAGS = -lSDL -lSDL_gfx
- all: PhysicalModel main Object
- $(COMPILER) $(OPTIONS) $(LDFLAGS) PhysicalModel.o test.o Object.o -o test
- main: test.cpp
- $(COMPILER) $(OPTIONS) -c test.cpp -o test.o
- Object: Object.cpp
- $(COMPILER) $(OPTIONS) -c Object.cpp -o Object.o
- PhysicalModel: PhysicalModel.cpp
- $(COMPILER) $(OPTIONS) -c PhysicalModel.cpp -o PhysicalModel.o
- clean:
- rm -f core *.o *.bak *stackdump *~
- #
- # The End !
- #
Add Comment
Please, Sign In to add comment