Improve the Makefile
This commit is contained in:
parent
772f1ef657
commit
687ca490dd
13
Makefile
13
Makefile
|
@ -9,15 +9,18 @@ LDFLAGS +=
|
|||
|
||||
all: lewdfingerd
|
||||
|
||||
install: all
|
||||
install lewdfingerd $(BINDIR)
|
||||
|
||||
lewdfingerd: lewdfingerd.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $<
|
||||
|
||||
.PHONY: all install clean distclean
|
||||
.PHONY: all install uninstall clean distclean
|
||||
|
||||
install: all
|
||||
install lewdfingerd $(BINDIR)
|
||||
|
||||
uninstall:
|
||||
rm -f $(BINDIR)/lewdfingerd
|
||||
|
||||
clean:
|
||||
rm lewdfingerd
|
||||
rm -f lewdfingerd
|
||||
|
||||
distclean: clean
|
||||
|
|
Loading…
Reference in New Issue