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