Advertisement
Guest User

Untitled

a guest
Mar 18th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.29 KB | None | 0 0
  1. all: list.o tree.o solution.o
  2.     gcc -o solution list.o tree.o solution.o
  3.  
  4. list.o: list.c list.h
  5.     gcc -c list.c
  6.  
  7. tree.o: list.c list.h tree.c tree.h
  8.     gcc -c tree.c
  9.  
  10. solution.o: solution.c tree.c tree.h list.c list.h
  11.     gcc -c solution.c
  12.  
  13. clean:
  14.     rm -rf *.o solution
  15.  
  16. .PHONY: all clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement