Skip to content

Commit 050a2b3

Browse files
MM
authored andcommitted
Linux: avoid spurious warnings from make rvaiya#257 from aspiers
1 parent 2748c3d commit 050a2b3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mk/linux.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ endif
2727
OBJECTS=$(CFILES:.c=.o)
2828

2929
all: $(OBJECTS)
30-
-mkdir bin
30+
-mkdir -p bin
3131
$(CC) -o bin/warpd $(OBJECTS) $(CFLAGS)
3232
clean:
33-
-rm $(OBJECTS)
34-
-rm -r bin
33+
-rm -f $(OBJECTS)
34+
-rm -rf bin
3535
install:
3636
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1/ $(DESTDIR)$(PREFIX)/bin/
3737
install -m644 files/warpd.1.gz $(DESTDIR)$(PREFIX)/share/man/man1/

0 commit comments

Comments
 (0)