diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
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 @@ | |||
1 | SOURCES = main.c | ||
2 | DEPS= | ||
3 | CC=gcc | ||
4 | CFLAGS=-g | ||
5 | OBJECTS=$(SOURCES:.c=.o) | ||
6 | |||
7 | .c.o: | ||
8 | $(CC) $(CFLAGS) $< -c -o $@ | ||
9 | |||
10 | tuntox: $(OBJECTS) | ||
11 | $(CC) --static -o $@ -ltoxcore $^ $(CFLAGS) /usr/local/lib/libsodium.a | ||
12 | |||
13 | all: tuntox | ||
14 | |||