Added some utiltites, filepost and mgpost

filepost posts a file to a filebase

mgpost posts a message to a msgbase
This commit is contained in:
Andrew Pamment
2016-04-11 17:18:33 +10:00
parent 9e76b50b8e
commit 7d3cf217cb
4 changed files with 251 additions and 0 deletions

15
utils/filepost/Makefile Normal file
View File

@@ -0,0 +1,15 @@
CC=cc
CFLAGS=-I/usr/local/include
DEPS = filepost.c
OBJ = filepost.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
filepost: $(OBJ)
$(CC) -o filepost -o $@ $^ $(CFLAGS) -L/usr/local/lib -lsqlite3
.PHONY: clean
clean:
rm -f $(OBJ) filepost