aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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