mirror of
https://github.com/jarun/nnn.git
synced 2024-11-01 00:47: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
|
*.o
|
||||||
config.h
|
|
||||||
nnn
|
nnn
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -13,14 +13,14 @@ else
|
||||||
LDLIBS += -lncurses
|
LDLIBS += -lncurses
|
||||||
endif
|
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
|
SRC = nnn.c
|
||||||
BIN = nnn
|
BIN = nnn
|
||||||
PLAYER = nlay
|
PLAYER = nlay
|
||||||
|
|
||||||
all: $(BIN) $(PLAYER)
|
all: $(BIN) $(PLAYER)
|
||||||
|
|
||||||
$(SRC): config.h
|
$(SRC): nnn.h
|
||||||
|
|
||||||
$(BIN): $(SRC)
|
$(BIN): $(SRC)
|
||||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||||
|
|
|
@ -13,14 +13,14 @@ else
|
||||||
LDLIBS += -lncurses
|
LDLIBS += -lncurses
|
||||||
endif
|
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
|
SRC = nnn.c
|
||||||
BIN = nnn
|
BIN = nnn
|
||||||
PLAYER = nlay
|
PLAYER = nlay
|
||||||
|
|
||||||
all: $(BIN) $(PLAYER)
|
all: $(BIN) $(PLAYER)
|
||||||
|
|
||||||
$(SRC): config.h
|
$(SRC): nnn.h
|
||||||
|
|
||||||
$(BIN): $(SRC)
|
$(BIN): $(SRC)
|
||||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||||
|
|
2
nnn.c
2
nnn.c
|
@ -75,7 +75,7 @@
|
||||||
#include <ftw.h>
|
#include <ftw.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "nnn.h"
|
||||||
|
|
||||||
#ifdef DEBUGMODE
|
#ifdef DEBUGMODE
|
||||||
static int DEBUG_FD;
|
static int DEBUG_FD;
|
||||||
|
|
Loading…
Reference in a new issue