makefile 237 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 teststack: teststack.o stack.o gcc -g $^ -o $@ stack.o: stack.c stack.h gcc -c -g -Wall -pedantic $< -o $@ teststack.o: teststack.c stack.h gcc -c -g -Wall -pedantic $< -o $@ .PHONY: clean clean: -rm stack.o teststack.o teststack