mirror of
https://github.com/jarun/nnn.git
synced 2024-10-31 16:37:18 +00:00
Move config.h to nnn.h
This commit is contained in:
parent
e2cde6c325
commit
277cf66097
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
*.o
|
||||
config.h
|
||||
nnn
|
||||
|
|
4
Makefile
4
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)
|
||||
|
|
|
@ -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)
|
||||
|
|
2
nnn.c
2
nnn.c
|
@ -75,7 +75,7 @@
|
|||
#include <ftw.h>
|
||||
#include <wchar.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "nnn.h"
|
||||
|
||||
#ifdef DEBUGMODE
|
||||
static int DEBUG_FD;
|
||||
|
|
Loading…
Reference in a new issue