Correct makefile
This commit is contained in:
parent
c2ffd4ae95
commit
d9c9125bd6
5
Makefile
5
Makefile
@ -1,6 +1,9 @@
|
|||||||
PROG_NAME=args_count
|
PROG_NAME=args_count
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|
||||||
|
all:
|
||||||
|
$(CC) ./src/$(PROG_NAME).c -o $(PROG_NAME)
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install $(PROG_NAME) $(PREFIX)/bin/$(PROG_NAME)
|
install $(PROG_NAME) $(PREFIX)/bin/$(PROG_NAME)
|
||||||
@ -8,5 +11,3 @@ install:
|
|||||||
clean:
|
clean:
|
||||||
rm -fr $(PROG_NAME)
|
rm -fr $(PROG_NAME)
|
||||||
|
|
||||||
all:
|
|
||||||
$(CC) ./src/$(PROG_NAME).c -o $(PROG_NAME)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user