From de917a07d21199f72f845333a6fb60c2f7aebd46 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 19 Sep 2022 20:47:22 +0200 Subject: [PATCH] More dummy files. --- Makefile | 15 +++++++++++++++ snac.c | 20 ++++++++++++++++++++ snac.h | 2 ++ 3 files changed, 37 insertions(+) create mode 100644 Makefile create mode 100644 snac.c create mode 100644 snac.h diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5187245 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CFLAGS=-g -Wall + +all: snac + +snac: snac.o + $(CC) -L/usr/local/lib *.o -lcurl -lcrypto -o $@ + +.c.o: + $(CC) $(CFLAGS) -I/usr/local/include -c $< + +snac.o: snac.c snac.h \ + xs.h xs_io.h xs_encdec.h xs_json.h xs_curl.h xs_openssl.h xs_socket.h xs_httpd.h + +clean: + rm -rf *.o *.core snac diff --git a/snac.c b/snac.c new file mode 100644 index 0000000..c28c607 --- /dev/null +++ b/snac.c @@ -0,0 +1,20 @@ +/* copyright (c) 2022 grunfink - MIT license */ + +#define XS_IMPLEMENTATION + +#include "xs.h" +#include "xs_io.h" +#include "xs_encdec.h" +#include "xs_json.h" +#include "xs_curl.h" +#include "xs_openssl.h" +#include "xs_socket.h" +#include "xs_httpd.h" + +#include "snac.h" + + +int main(int argc, char *argv[]) +{ + return 0; +} diff --git a/snac.h b/snac.h new file mode 100644 index 0000000..2038c9d --- /dev/null +++ b/snac.h @@ -0,0 +1,2 @@ +/* copyright (c) 2022 grunfink - MIT license */ +