diff options
author | GDR! <gdr@go2.pl> | 2014-11-09 17:24:12 +0100 |
---|---|---|
committer | GDR! <gdr@go2.pl> | 2014-11-09 17:24:12 +0100 |
commit | f877c04fdb45aebff081df4ed1b7fea9bd293fa5 (patch) | |
tree | 4f377895b9cdabfcd308c499edd33fcd6fc06844 |
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 | |||