Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.56 KB | None | 0 0
  1. HEADERS = hunger.h education.h entertainment.h wc.h illness.h tamagotchi.h
  2.  
  3. build:
  4.     tamagotchi: hunger.o education.o entertainment.o wc.o illness.o tamagotchi.o
  5.     cc main.cpp -o tamagotchi
  6.  
  7.     hunger.o: $(HEADERS)
  8.     cc hunger.cpp -o hunger.o
  9.  
  10.     education.o: $(HEADERS)
  11.     cc education.cpp -o education.o
  12.  
  13.     entertainment.o: $(HEADERS)
  14.     cc entertainment.cpp -o entertainment.o
  15.  
  16.     illness.o: $(HEADERS)
  17.     cc illness.cpp -o illness.o
  18.  
  19.     wc.o: $(HEADERS)
  20.     cc wc.cpp -o wc.o
  21.  
  22.     tamagotchi.o: $(HEADERS)
  23.     cc tamagotchi.cpp -o tamagotchi.o
  24.  
  25. clean:
  26.     rm -rf *.o tamagotchi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement