aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2021-05-01 10:31:37 +0200
committerJan Sucan <jan@jansucan.com>2021-05-01 10:31:37 +0200
commit736348fa98d6e95014ef03bae812ad66b16032a1 (patch)
tree8a96016c75fb72771bc38c605291d1f316390382
parentd9bba7be0f95e7ef738e1bbf86094d2ac70ae019 (diff)
Remove unnecessary variable from the Makefile
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ff57fd7..46a324f 100644
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,12 @@ PROGRAM_VERSION=1.0
CC=gcc
CFLAGS=-Wall
-EXEC_NAME=diff-dd
SOURCES=*.c
HEADERS=*.h
all: $(SOURCES) $(HEADERS) program_info_header
- $(CC) $(CFLAGS) -o $(EXEC_NAME) $(SOURCES)
+ $(CC) $(CFLAGS) -o $(PROGRAM_NAME) $(SOURCES)
program_info_header:
echo "#define PROGRAM_NAME_STR \"$(PROGRAM_NAME)\"" >program_info.h
@@ -18,4 +17,4 @@ program_info_header:
.PHONY: clean
clean:
- rm -f *.o *~ $(EXEC_NAME) program_info.h
+ rm -f *.o *~ $(PROGRAM_NAME) program_info.h