Fix make clean, find conditions are tricky
This commit is contained in:
parent
84120dca09
commit
2191a8a18b
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -10,10 +10,10 @@ CFLAGS += -pedantic -Wall -Wextra -Wmissing-prototypes \
|
|||
all: vger
|
||||
|
||||
clean:
|
||||
find . -name vger -o \
|
||||
-name \*\.o -o \
|
||||
-name \*\.core \
|
||||
-delete
|
||||
find . \( -name vger -o \
|
||||
-name "*.o" -o \
|
||||
-name "*.core" \) \
|
||||
-delete
|
||||
|
||||
vger: main.o mimes.o utils.o opts.h
|
||||
${CC} ${CFLAGS} -o $@ main.o mimes.o utils.o
|
||||
|
|
Loading…
Reference in a new issue