Actualiser Makefile
This commit is contained in:
parent
ccf86009f1
commit
5b0c5f18ad
13
Makefile
13
Makefile
|
@ -1,17 +1,12 @@
|
|||
PROG_NAME=args_count
|
||||
BASE=/usr/local
|
||||
PREFIX=/usr/local
|
||||
|
||||
|
||||
$(PROG_NAME): ./src/$(PROG_NAME).c
|
||||
$(CC) $< -o $(PROG_NAME)
|
||||
|
||||
install:
|
||||
install $(PROG_NAME) $(BASE)/bin/$(PROG_NAME)
|
||||
|
||||
deinstall:
|
||||
rm -fr $(BASE)/bin/$(PROG_NAME)
|
||||
install $(PROG_NAME) $(PREFIX)/bin/$(PROG_NAME)
|
||||
|
||||
clean:
|
||||
rm -fr $(PROG_NAME)
|
||||
|
||||
all: $(PROG_NAME)
|
||||
all:
|
||||
$(CC) ./src/$(PROG_NAME) -o $(PROG_NAME)
|
||||
|
|
Loading…
Reference in New Issue