From f877c04fdb45aebff081df4ed1b7fea9bd293fa5 Mon Sep 17 00:00:00 2001 From: GDR! Date: Sun, 9 Nov 2014 17:24:12 +0100 Subject: makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ef572e6 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +SOURCES = main.c +DEPS= +CC=gcc +CFLAGS=-g +OBJECTS=$(SOURCES:.c=.o) + +.c.o: + $(CC) $(CFLAGS) $< -c -o $@ + +tuntox: $(OBJECTS) + $(CC) --static -o $@ -ltoxcore $^ $(CFLAGS) /usr/local/lib/libsodium.a + +all: tuntox + -- cgit v1.2.3