Correct makefile
This commit is contained in:
parent
ecc146b207
commit
2337273fc7
6
Makefile
6
Makefile
@ -3,13 +3,13 @@ BASE=/usr/local
|
|||||||
|
|
||||||
|
|
||||||
$(PROG_NAME): ./src/$(PROG_NAME).c
|
$(PROG_NAME): ./src/$(PROG_NAME).c
|
||||||
$(CC) $< -o ./bin/$(PROG_NAME)
|
$(CC) $< -o $(PROG_NAME)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install ./bin/$(PROG_NAME) $(BASE)/bin/$(PROG_NAME)
|
install $(PROG_NAME) $(BASE)/bin/$(PROG_NAME)
|
||||||
|
|
||||||
deinstall:
|
deinstall:
|
||||||
rm -fr $(BASE)/bin/$(PROG_NAME)
|
rm -fr $(BASE)/bin/$(PROG_NAME)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr ./bin/*
|
rm -fr $(PROG_NAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user