protoverse

A metaverse protocol
git clone git://jb55.com/protoverse
Log | Files | Refs | README | LICENSE

commit d5670018f0e0321470994479616d25ecdd95e50a
parent 69e0edd8305d4b58d660af691d8dfff5ae856cf3
Author: William Casarin <jb55@jb55.com>
Date:   Sat,  7 Nov 2020 10:27:11 -0800

move source to src subdir

Diffstat:
MMakefile | 8++++----
Rclient.c -> src/client.c | 0
Rclient.h -> src/client.h | 0
Rcursor.c -> src/cursor.c | 0
Rcursor.h -> src/cursor.h | 0
Rdescribe.c -> src/describe.c | 0
Rdescribe.h -> src/describe.h | 0
Rio.c -> src/io.c | 0
Rio.h -> src/io.h | 0
Rnet.c -> src/net.c | 0
Rnet.h -> src/net.h | 0
Rparse.c -> src/parse.c | 0
Rparse.h -> src/parse.h | 0
Rprotocol.h -> src/protocol.h | 0
Rprotoverse.c -> src/protoverse.c | 0
Rserve.c -> src/serve.c | 0
Rserve.h -> src/serve.h | 0
Rtest.c -> src/test.c | 0
Rtypedefs.h -> src/typedefs.h | 0
Rutil.c -> src/util.c | 0
Rutil.h -> src/util.h | 0
Rvarint.c -> src/varint.c | 0
Rvarint.h -> src/varint.h | 0
23 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ CFLAGS = -Wno-error=unused-function -O1 -g -std=c89 -Wall -Wextra -Werror -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -OBJS = io.o parse.o cursor.o describe.o serve.o client.o net.o varint.o util.o +OBJS = src/io.o src/parse.o src/cursor.o src/describe.o src/serve.o src/client.o src/net.o src/varint.o src/util.o all: protoverse libprotoverse.a @@ -9,7 +9,7 @@ all: protoverse libprotoverse.a @echo "cc $<" @$(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $< -protoverse: protoverse.c $(OBJS) +protoverse: src/protoverse.c $(OBJS) @echo "ld $@" @$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@ @@ -17,9 +17,9 @@ libprotoverse.a: $(OBJS) ar rcs $@ $^ clean: - rm -f protoverse *.o + rm -f protoverse test $(OBJS) -test: test.c $(OBJS) +test: src/test.c $(OBJS) $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@ check: test diff --git a/client.c b/src/client.c diff --git a/client.h b/src/client.h diff --git a/cursor.c b/src/cursor.c diff --git a/cursor.h b/src/cursor.h diff --git a/describe.c b/src/describe.c diff --git a/describe.h b/src/describe.h diff --git a/io.c b/src/io.c diff --git a/io.h b/src/io.h diff --git a/net.c b/src/net.c diff --git a/net.h b/src/net.h diff --git a/parse.c b/src/parse.c diff --git a/parse.h b/src/parse.h diff --git a/protocol.h b/src/protocol.h diff --git a/protoverse.c b/src/protoverse.c diff --git a/serve.c b/src/serve.c diff --git a/serve.h b/src/serve.h diff --git a/test.c b/src/test.c diff --git a/typedefs.h b/src/typedefs.h diff --git a/util.c b/src/util.c diff --git a/util.h b/src/util.h diff --git a/varint.c b/src/varint.c diff --git a/varint.h b/src/varint.h