From 736348fa98d6e95014ef03bae812ad66b16032a1 Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sat, 1 May 2021 10:31:37 +0200 Subject: Remove unnecessary variable from the Makefile --- Makefile | 5 ++--- 1 file 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 -- cgit v1.2.3