Fix make clean, find conditions are tricky

This commit is contained in:
Solene Rapenne 2021-02-05 21:24:32 +01:00
parent 84120dca09
commit 2191a8a18b

View file

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