Makefile: add install target
This commit is contained in:
bovenliggende
0e75740630
commit
8b6291b6ca
10
Makefile
10
Makefile
@ -1,2 +1,10 @@
|
||||
all: adhocify.c
|
||||
prefix = /usr/local
|
||||
bindir = $(prefix)/bin
|
||||
|
||||
all:
|
||||
$(CC) adhocify.c -g -std=c99 -Wall -Wextra -pedantic -o adhocify
|
||||
|
||||
install: adhocify
|
||||
install -D adhocify $(DESTDIR)$(bindir)/adhocify
|
||||
|
||||
.PHONY: install
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user