Makefile: add files and directories to remove on 'clean'.
parent
caf255d6c4
commit
66ddeb2207
|
@ -25,13 +25,13 @@ doc: src/ipcd.zig
|
||||||
$(ZIGC) build-exe $(ZIGOPTS) $(ZIGMAKEDOC) $^
|
$(ZIGC) build-exe $(ZIGOPTS) $(ZIGMAKEDOC) $^
|
||||||
|
|
||||||
TO_CLEAN != ls misc/*.zig | sed 's/.zig$\//' | sed 's_misc/__'
|
TO_CLEAN != ls misc/*.zig | sed 's/.zig$\//' | sed 's_misc/__'
|
||||||
TO_CLEAN += ipcd pong pongd snd-*
|
TO_CLEAN += ipcd tcpd pong pongd
|
||||||
TO_CLEAN += *.o
|
TO_CLEAN += *.o
|
||||||
clean:
|
clean:
|
||||||
@-rm $(TO_CLEAN) 2>/dev/null
|
@-rm $(TO_CLEAN) 2>/dev/null
|
||||||
|
|
||||||
mrproper: clean
|
mrproper: clean
|
||||||
@-rm -r docs zig-cache zig-out 2>/dev/null
|
@-rm -r docs build zig-cache zig-out 2>/dev/null
|
||||||
|
|
||||||
ACCESS_LOGS ?= ./access.log
|
ACCESS_LOGS ?= ./access.log
|
||||||
servedoc:
|
servedoc:
|
||||||
|
|
Reference in New Issue