From d9c9125bd6e741daaf5745d13397106e8bdfd602 Mon Sep 17 00:00:00 2001 From: kitoy Date: Fri, 10 Nov 2023 10:07:12 +0100 Subject: [PATCH] Correct makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 34f41fe..056bc61 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ PROG_NAME=args_count PREFIX=/usr/local +all: + $(CC) ./src/$(PROG_NAME).c -o $(PROG_NAME) + install: install $(PROG_NAME) $(PREFIX)/bin/$(PROG_NAME) @@ -8,5 +11,3 @@ install: clean: rm -fr $(PROG_NAME) -all: - $(CC) ./src/$(PROG_NAME).c -o $(PROG_NAME)