Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. #-------------------------------------------------------------#
  2. # #
  3. # makefile #
  4. # #
  5. # Visu projekto daliu sukopiliavimas ir susiejimas i viena #
  6. # vykdoma faila #
  7. # #
  8. #-------------------------------------------------------------#
  9.  
  10. compile: struct.exe
  11.  
  12.  
  13. struct.exe : struct.o
  14. g++ -o struct.exe struct.o
  15.  
  16.  
  17. struct.o : struct.cpp
  18. g++ -c struct.cpp
  19.  
  20.  
  21. clean:
  22. rm -f *.o
  23. rm -f *.exe
  24.  
  25.  
  26. build: clean compile
  27.  
  28.  
  29. run: compile
  30. ./struct.exe
  31.  
  32. #=============================================================#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement