diff options
| author | Jan Sucan <jan@jansucan.com> | 2021-05-01 10:31:37 +0200 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2021-05-01 10:31:37 +0200 |
| commit | 736348fa98d6e95014ef03bae812ad66b16032a1 (patch) | |
| tree | 8a96016c75fb72771bc38c605291d1f316390382 | |
| parent | d9bba7be0f95e7ef738e1bbf86094d2ac70ae019 (diff) | |
Remove unnecessary variable from the Makefile
| -rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |
