14 lines
185 B
Makefile
14 lines
185 B
Makefile
PROG_NAME = args_count
|
|
PREFIX ?= /usr/local
|
|
|
|
all:
|
|
$(CC) ./src/$(PROG_NAME).c -o $(PROG_NAME)
|
|
|
|
|
|
install:
|
|
install -c -s -m 555 $(PROG_NAME) $(PREFIX)/bin
|
|
|
|
clean:
|
|
rm -fr $(PROG_NAME)
|
|
|