From 9a4c4467600d02a445b5055d3278052b93395970 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 5 Jul 2017 08:38:34 +0530 Subject: Retire config.def.h, unify Makefiles --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile') 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) -- cgit v1.3.1