args_count/Makefile

18 lines
259 B
Makefile

PROG_NAME=args_count
BASE=/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)
clean:
rm -fr $(PROG_NAME)
all: $(PROG_NAME) install