Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OBJS = sll.o dll.o queue.o stack.o integer.o test-integer.o
- OOPTS = -Wall -Wextra -g -c
- LOPTS = -Wall -Wextra -g
- all : test-integer
- test-integer : $(OBJS)
- gcc $(LOPTS) -o test-integer $(OBJS)
- sll.o : sll.c sll.h
- gcc $(OOPTS) sll.c
- dll.o : dll.c dll.h
- gcc $(OOPTS) dll.c
- queue.o : queue.c queue.h sll.h
- gcc $(OOPTS) queue.c
- stack.o : stack.c stack.h dll.h
- gcc $(OOPTS) stack.c
- integer.o : integer.c integer.h
- gcc $(OOPTS) integer.c
- test-integer.o : test-integer.c integer.h sll.h dll.h queue.h stack.h
- gcc $(OOPTS) test-integer.c
- clean:
- rm -f $(OBJS) test-integer
- test:
- ./test-integer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement