Advertisement
Patresss

makefile

Oct 13th, 2015
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. MAIN = HelloWorld
  2. SRC = scala
  3. COMP = scalac
  4.  
  5. compile:
  6.     @echo "Kompilowanie plikow *.scala"
  7.     @$(COMP) *.scala
  8.  
  9. run:
  10.     @echo "Uruchomiony program: \n"
  11.     @$(SRC) $(MAIN)
  12.  
  13. execute: clear compile run
  14.  
  15. clear:
  16.     clear
  17.  
  18. clean:
  19.     @echo "Usuwanie plikow *.class:"
  20.     @rm *.class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement