Guest User

Untitled

a guest
Sep 27th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.50 KB | None | 0 0
  1. COMPILER      = g++
  2. OPTIONS       = -std=c++11 -pthread
  3. LDFLAGS       = -lSDL -lSDL_gfx
  4.  
  5. all: PhysicalModel main Object
  6.     $(COMPILER) $(OPTIONS) $(LDFLAGS) PhysicalModel.o test.o Object.o -o test
  7.  
  8. main: test.cpp
  9.     $(COMPILER) $(OPTIONS) -c test.cpp -o test.o
  10.  
  11. Object: Object.cpp
  12.     $(COMPILER) $(OPTIONS) -c Object.cpp -o Object.o
  13.  
  14. PhysicalModel: PhysicalModel.cpp
  15.     $(COMPILER) $(OPTIONS) -c PhysicalModel.cpp -o PhysicalModel.o
  16.  
  17.  
  18.  
  19. clean:
  20.     rm -f core *.o *.bak *stackdump *~
  21.  
  22. #
  23. # The End !
  24. #
Add Comment
Please, Sign In to add comment