diff --git a/Makefile b/Makefile index d33aab23b7c188906c63f25e26852d885292237f..ca85c7adf4d896d01136e9536ae25795a1174afd 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ HAMMER_LIB = ./lib CFLAGS += -I$(HAMMER_INCLUDE) LDFLAGS += -L$(HAMMER_LIB) -.PHONY: all test +.PHONY: all test clean all: pdf test: pdf @@ -19,3 +19,6 @@ test: pdf pdf: pdf.c $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $< -lhammer -lz + +clean: + rm -f pdf