Advertisement
Guest User

Makefile

a guest
Nov 26th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. all: main.o objectes_classes main.exe
  2.  
  3. main.o:main.cpp
  4.     g++ -c main.cpp -D_GLIBCXX_DEBUG -I$(INCLUDES_CPP)
  5. objectes_classes:Xarxa.cpp Pais.cpp Sector.cpp Industria.cpp
  6.     g++ -c Xarxa.cpp -D_GLIBCXX_DEBUG -I$(INCLUDES_CPP)
  7.     g++ -c Pais.cpp -D_GLIBCXX_DEBUG -I$(INCLUDES_CPP)
  8.     g++ -c Industria.cpp -D_GLIBCXX_DEBUG -I$(INCLUDES_CPP)
  9.     g++ -c Sector.cpp -D_GLIBCXX_DEBUG -I$(INCLUDES_CPP)
  10. main.exe:*.o
  11.     g++ -o main.exe *.o
  12. clean:
  13.     rm -f *.o *.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement