args_count/Makefile

16 lines
239 B
Makefile

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