summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGDR! <gdr@go2.pl>2014-11-09 17:24:12 +0100
committerGDR! <gdr@go2.pl>2014-11-09 17:24:12 +0100
commitf877c04fdb45aebff081df4ed1b7fea9bd293fa5 (patch)
tree4f377895b9cdabfcd308c499edd33fcd6fc06844
makefile
-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