mirror of
https://github.com/eledio-devices/thirdparty-tinyexpr.git
synced 2025-10-30 16:15:41 +01:00
Merge pull request #25 from LelixSuper/fix-makefile
Fix delete command and add .PHONY target in Makefile
This commit is contained in:
4
Makefile
4
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
|
||||
|
||||
Reference in New Issue
Block a user