summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-19 20:47:22 +0200
committerdefault <nobody@localhost>2022-09-19 20:47:22 +0200
commitde917a07d21199f72f845333a6fb60c2f7aebd46 (patch)
tree6747d85ced66c3f6f0f754b0a3bc98c7cd5e52d9 /Makefile
parent67288a763b8bceadbb128d2cf5bdc431ba8a686f (diff)
More dummy files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
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