aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2017-12-30 03:29:35 +0100
committerGravatar Frank Denis <github@pureftpd.org>2017-12-30 03:29:35 +0100
commitccb5ff9bb3a75d6ceac19e193eac447f7e84de79 (patch)
tree6ca666ad8a1916dfcf0a016ec06ff43fb3f5c42a
parentf1e3970b52886c2e784d9d6a247788924eec6941 (diff)
downloadtweetpipe-ccb5ff9bb3a75d6ceac19e193eac447f7e84de79.tar.gz
Move things to src/
-rw-r--r--Makefile12
-rw-r--r--src/common.h (renamed from common.h)0
-rw-r--r--src/encpipe.c (renamed from encpipe.c)0
-rw-r--r--src/encpipe_p.h (renamed from encpipe_p.h)0
-rw-r--r--src/safe_rw.c (renamed from safe_rw.c)0
-rw-r--r--src/safe_rw.h (renamed from safe_rw.h)0
6 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 12bc6f5..4656bfd 100644
--- a/Makefile
+++ b/Makefile
@@ -2,17 +2,17 @@ PREFIX ?= /usr/local
WFLAGS ?= -Wall -Wextra -Wmissing-prototypes -Wdiv-by-zero -Wbad-function-cast -Wcast-align -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wnested-externs -Wno-unknown-pragmas -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wno-type-limits
CFLAGS ?= -Os -march=native -fno-exceptions $(WFLAGS)
CFLAGS += -I.
-OBJ = encpipe.o safe_rw.o
+OBJ = src/encpipe.o src/safe_rw.o
AR ?= ar
RANLIB ?= ranlib
STRIP ?= strip
SRC = \
- common.h \
- encpipe.c \
- encpipe_p.h \
- safe_rw.c \
- safe_rw.h
+ src/common.h \
+ src/encpipe.c \
+ src/encpipe_p.h \
+ src/safe_rw.c \
+ src/safe_rw.h
all: bin
diff --git a/common.h b/src/common.h
index 8181c42..8181c42 100644
--- a/common.h
+++ b/src/common.h
diff --git a/encpipe.c b/src/encpipe.c
index 79500c6..79500c6 100644
--- a/encpipe.c
+++ b/src/encpipe.c
diff --git a/encpipe_p.h b/src/encpipe_p.h
index 3e8e474..3e8e474 100644
--- a/encpipe_p.h
+++ b/src/encpipe_p.h
diff --git a/safe_rw.c b/src/safe_rw.c
index 683d8b5..683d8b5 100644
--- a/safe_rw.c
+++ b/src/safe_rw.c
diff --git a/safe_rw.h b/src/safe_rw.h
index 31f4aa6..31f4aa6 100644
--- a/safe_rw.h
+++ b/src/safe_rw.h