Merge pull request #25 from LelixSuper/fix-makefile

Fix delete command and add .PHONY target in Makefile
This commit is contained in:
Lewis Van Winkle
2017-04-17 00:30:55 -05:00
committed by GitHub

View File

@@ -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