aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rw-r--r--Makefile.native4
-rw-r--r--nnn.c2
-rw-r--r--nnn.h (renamed from config.h)0
5 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index f05aba5..e2f3f89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
*.o
-config.h
nnn
diff --git a/Makefile b/Makefile
index 6d477e2..7dfe151 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 4eac41d..b91a3e0 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 4309a41..c215230 100644
--- 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
index f6bb4a7..f6bb4a7 100644
--- a/config.h
+++ b/nnn.h