From 277cf66097209b0f56312e11a82dd3db437df1a0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 2 Sep 2017 11:39:44 +0530 Subject: [PATCH] Move config.h to nnn.h --- .gitignore | 1 - Makefile | 4 ++-- Makefile.native | 4 ++-- nnn.c | 2 +- config.h => nnn.h | 0 5 files changed, 5 insertions(+), 6 deletions(-) rename config.h => nnn.h (100%) diff --git a/.gitignore b/.gitignore index f05aba57..e2f3f899 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ *.o -config.h nnn diff --git a/Makefile b/Makefile index 6d477e20..7dfe1516 100644 --- a/Makefile +++ b/Makefile @@ -13,14 +13,14 @@ else LDLIBS += -lncurses endif -DISTFILES = nlay nnn.c config.h nnn.1 Makefile README.md LICENSE +DISTFILES = nlay nnn.c nnn.h nnn.1 Makefile README.md LICENSE SRC = nnn.c BIN = nnn PLAYER = nlay all: $(BIN) $(PLAYER) -$(SRC): config.h +$(SRC): nnn.h $(BIN): $(SRC) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) diff --git a/Makefile.native b/Makefile.native index 4eac41d1..b91a3e06 100644 --- a/Makefile.native +++ b/Makefile.native @@ -13,14 +13,14 @@ else LDLIBS += -lncurses endif -DISTFILES = nlay nnn.c config.h nnn.1 Makefile README.md LICENSE +DISTFILES = nlay nnn.c nnn.h nnn.1 Makefile README.md LICENSE SRC = nnn.c BIN = nnn PLAYER = nlay all: $(BIN) $(PLAYER) -$(SRC): config.h +$(SRC): nnn.h $(BIN): $(SRC) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) diff --git a/nnn.c b/nnn.c index 4309a410..c2152303 100644 --- a/nnn.c +++ b/nnn.c @@ -75,7 +75,7 @@ #include #include -#include "config.h" +#include "nnn.h" #ifdef DEBUGMODE static int DEBUG_FD; diff --git a/config.h b/nnn.h similarity index 100% rename from config.h rename to nnn.h