2023-11-08 13:55:48 +01:00
|
|
|
PROG_NAME=args_count
|
|
|
|
BASE=/usr/local
|
|
|
|
|
|
|
|
|
|
|
|
$(PROG_NAME): ./src/$(PROG_NAME).c
|
2023-11-08 16:01:14 +01:00
|
|
|
$(CC) $< -o $(PROG_NAME)
|
2023-11-08 13:55:48 +01:00
|
|
|
|
|
|
|
install:
|
2023-11-08 16:01:14 +01:00
|
|
|
install $(PROG_NAME) $(BASE)/bin/$(PROG_NAME)
|
2023-11-08 13:55:48 +01:00
|
|
|
|
|
|
|
deinstall:
|
|
|
|
rm -fr $(BASE)/bin/$(PROG_NAME)
|
|
|
|
|
|
|
|
clean:
|
2023-11-08 16:01:14 +01:00
|
|
|
rm -fr $(PROG_NAME)
|