Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OBJS = testord.o metodos.o memoria.o auxi.o
- CC = gcc
- OPS = -O -c
- SOURCES = testord.c metodos.c memoria.c auxi.c
- HEADERS = auxi.h metodos.h memoria.h
- testord : $(OBJS)
- $(CC) $^ -o $@
- @ echo “Construcción terminada”
- testord.o : testord.c $(HEADERS)
- auxi.o : auxi.h
- memoria.o : memoria.h
- metodos.o : metodos.h
- proyecto.tar : $(SOURCES) $(HEADERS) makefile
- tar -cvf proyecto.tar $^
- clean:
- rm *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement