Browse Source

Re-structure files

master
Arun Prakash Jana 6 years ago
parent
commit
a4eb852dba
No known key found for this signature in database GPG Key ID: A75979F35C080412
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      .travis.yml
  2. +4
    -4
      Makefile
  3. +0
    -0
      src/nnn.c
  4. +0
    -0
      src/nnn.h

+ 1
- 1
.travis.yml View File

@@ -27,7 +27,7 @@ script:
- export CFLAGS=-Werror;
- make clean; make;
- make clean;
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$CC" == "clang" ]]; then clang-tidy *.h *.c -- -I/usr/include; fi; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$CC" == "clang" ]]; then clang-tidy src/* -- -I/usr/include; fi; fi

before_deploy:
- cd ..


+ 4
- 4
Makefile View File

@@ -16,13 +16,13 @@ else
LDLIBS += -lncurses
endif

DISTFILES = nnn.c nnn.h nnn.1 Makefile README.md LICENSE
SRC = nnn.c
DISTFILES = src nnn.1 Makefile README.md LICENSE
SRC = src/nnn.c
BIN = nnn

all: $(BIN)

$(SRC): nnn.h
$(SRC): src/nnn.h

$(BIN): $(SRC)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
@@ -45,7 +45,7 @@ strip: $(BIN)

dist:
mkdir -p nnn-$(VERSION)
$(CP) $(DISTFILES) nnn-$(VERSION)
$(CP) -r $(DISTFILES) nnn-$(VERSION)
tar -cf nnn-$(VERSION).tar nnn-$(VERSION)
gzip nnn-$(VERSION).tar
$(RM) -r nnn-$(VERSION)


nnn.c → src/nnn.c View File


nnn.h → src/nnn.h View File


||||||
x
 
000:0
Loading…
Cancel
Save