diff --git a/Makefile b/Makefile index 0b255c2..cc9765c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CCFLAGS = -ansi -Wall -Wshadow -O2 LFLAGS = -lm +.PHONY = all clean all: test test_pr bench example example2 example3 @@ -29,5 +30,4 @@ example3: example3.o tinyexpr.o $(CC) -c $(CCFLAGS) $< -o $@ clean: - rm *.o - rm *.exe + rm -f *.o *.exe example example2 example3 bench test_pr test