Browse Source

Fix make clean, find conditions are tricky

master
Solene Rapenne 9 months ago
parent
commit
2191a8a18b
  1. 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…
Cancel
Save