]> Sergey Matveev's repositories - nnn.git/commitdiff
Move config.h to nnn.h
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 2 Sep 2017 06:09:44 +0000 (11:39 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 2 Sep 2017 06:09:44 +0000 (11:39 +0530)
.gitignore
Makefile
Makefile.native
nnn.c
nnn.h [moved from config.h with 100% similarity]

index f05aba577158f32ce15639a388886bc689fe642f..e2f3f8994da1e6dc0224b4eee761df442cac3251 100644 (file)
@@ -1,3 +1,2 @@
 *.o
-config.h
 nnn
index 6d477e20dc3aed410e9b96b66adc3a8d8db6a153..7dfe15164011f6f929a2b09a4956be554713b9e0 100644 (file)
--- 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)
index 4eac41d110d7cb39294823a4690ecfc001bdf4a2..b91a3e06abf519505369ebab6691d08d6ff9b231 100644 (file)
@@ -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 4309a410f5d16dd5ed2e98c7f113a699edf701a8..c2152303020253908fb88262499dc9db0b8fe6ac 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -75,7 +75,7 @@
 #include <ftw.h>
 #include <wchar.h>
 
-#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