diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | Makefile.native | 4 | ||||
-rw-r--r-- | nnn.c | 2 | ||||
-rw-r--r-- | nnn.h (renamed from config.h) | 0 |
5 files changed, 5 insertions, 6 deletions
@@ -1,3 +1,2 @@ *.o -config.h nnn @@ -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) @@ -75,7 +75,7 @@ #include <ftw.h> #include <wchar.h> -#include "config.h" +#include "nnn.h" #ifdef DEBUGMODE static int DEBUG_FD; |