.gitignore | 1 - Makefile | 4 ++-- Makefile.native | 4 ++-- config.h => nnn.h | 0 nnn.c | 2 +- diff --git a/.gitignore b/.gitignore index f05aba577158f32ce15639a388886bc689fe642f..e2f3f8994da1e6dc0224b4eee761df442cac3251 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ *.o -config.h nnn diff --git a/Makefile b/Makefile index 6d477e20dc3aed410e9b96b66adc3a8d8db6a153..7dfe15164011f6f929a2b09a4956be554713b9e0 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 4eac41d110d7cb39294823a4690ecfc001bdf4a2..b91a3e06abf519505369ebab6691d08d6ff9b231 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/config.h b/nnn.h rename from config.h rename to nnn.h diff --git a/nnn.c b/nnn.c index 4309a410f5d16dd5ed2e98c7f113a699edf701a8..c2152303020253908fb88262499dc9db0b8fe6ac 100644 --- a/nnn.c +++ b/nnn.c @@ -75,7 +75,7 @@ #endif #include #include -#include "config.h" +#include "nnn.h" #ifdef DEBUGMODE static int DEBUG_FD;