Skip to content

Commit e6a7888

Browse files
authored
Merge pull request #25 from LelixSuper/fix-makefile
Fix delete command and add .PHONY target in Makefile
2 parents bc132d5 + 310d61f commit e6a7888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CCFLAGS = -ansi -Wall -Wshadow -O2
22
LFLAGS = -lm
33

4+
.PHONY = all clean
45

56
all: test test_pr bench example example2 example3
67

@@ -29,5 +30,4 @@ example3: example3.o tinyexpr.o
2930
$(CC) -c $(CCFLAGS) $< -o $@
3031

3132
clean:
32-
rm *.o
33-
rm *.exe
33+
rm -f *.o *.exe example example2 example3 bench test_pr test

0 commit comments

Comments
 (0)