summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ef572e6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
1SOURCES = main.c
2DEPS=
3CC=gcc
4CFLAGS=-g
5OBJECTS=$(SOURCES:.c=.o)
6
7.c.o:
8 $(CC) $(CFLAGS) $< -c -o $@
9
10tuntox: $(OBJECTS)
11 $(CC) --static -o $@ -ltoxcore $^ $(CFLAGS) /usr/local/lib/libsodium.a
12
13all: tuntox
14