blob: ef572e65be999fe0f5fb459d81527a6652b88846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|