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)