Advertisement
Guest User

Untitled

a guest
Apr 13th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.41 KB | None | 0 0
  1. OBJS = testord.o metodos.o memoria.o auxi.o
  2. CC = gcc
  3. OPS = -O -c
  4. SOURCES = testord.c metodos.c memoria.c auxi.c
  5. HEADERS = auxi.h metodos.h memoria.h
  6. testord : $(OBJS)
  7.     $(CC) $^ -o $@
  8.     @ echo “Construcción terminada”
  9. testord.o : testord.c $(HEADERS)
  10. auxi.o : auxi.h
  11. memoria.o : memoria.h
  12. metodos.o : metodos.h
  13. proyecto.tar : $(SOURCES) $(HEADERS) makefile
  14.     tar -cvf proyecto.tar $^
  15. clean:
  16.     rm *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement