Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. VERSION = 1
  2. hello = ./hello
  3. hello2 = ./hello2
  4. CC = gcc
  5. CXX = g++
  6. CFLAGS = -Wall -O -g
  7. FILES = $(hello) $(hello2)
  8.  
  9. all: $(FILES)
  10.  
  11. hello:
  12. $(CC) $(CFLAGS) -o hello hello.c
  13.  
  14. hello2:
  15. $(CC) $(CFLAGS) -O1 -o hello2 hello.c
  16.  
  17. clean:
  18. rm -f $(FILES) *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement