Correct makefile

This commit is contained in:
kitoy 2023-11-08 16:01:14 +01:00
parent ecc146b207
commit 2337273fc7
1 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@ BASE=/usr/local
$(PROG_NAME): ./src/$(PROG_NAME).c
$(CC) $< -o ./bin/$(PROG_NAME)
$(CC) $< -o $(PROG_NAME)
install:
install ./bin/$(PROG_NAME) $(BASE)/bin/$(PROG_NAME)
install $(PROG_NAME) $(BASE)/bin/$(PROG_NAME)
deinstall:
rm -fr $(BASE)/bin/$(PROG_NAME)
clean:
rm -fr ./bin/*
rm -fr $(PROG_NAME)