aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-07-05 08:38:34 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-07-05 08:38:34 +0530
commit9a4c4467600d02a445b5055d3278052b93395970 (patch)
tree7f4879e3b6c52038a39ad90058b2259dc227ed75 /Makefile
parent3c612fe64d5814e4749ab5c0db0da1173489435d (diff)
downloadnnn-9a4c4467600d02a445b5055d3278052b93395970.tar.gz
Retire config.def.h, unify Makefiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f1aed0f..5e87f4f 100644
--- a/Makefile
+++ b/Makefile
@@ -13,18 +13,14 @@ else
LDLIBS += -lncurses
endif
-DISTFILES = nlay nnn.c config.def.h nnn.1 Makefile README.md LICENSE
-LOCALCONFIG = config.h
+DISTFILES = nlay nnn.c config.h nnn.1 Makefile README.md LICENSE
SRC = nnn.c
BIN = nnn
PLAYER = nlay
all: $(BIN) $(PLAYER)
-$(LOCALCONFIG): config.def.h
- cp config.def.h $@
-
-$(SRC): $(LOCALCONFIG)
+$(SRC): config.h
$(BIN): $(SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)