summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-07 15:42:59 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-07 15:42:59 -0400
commit88f3bbb8fe301815ac2115b7edf2fbbc61390c6b (patch)
tree039bc0ee40e24c509b1862df9c18f61f75de245e
parentf32da4ead891548cd23ec0dd6408ef3125b4e9e3 (diff)
hard-code dependencies instead of using wildcard
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 94a7956..08bd883 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
1SOURCES = $(wildcard *.c) 1SOURCES = client.c gitversion.c log.c mach.c main.c util.c
2OBJECTS=$(SOURCES:.c=.o)
3INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h
2DEPS=toxcore 4DEPS=toxcore
3CC=gcc 5CC=gcc
4CFLAGS=-g -Wall #-std=c99 6CFLAGS=-g -Wall #-std=c99
@@ -7,8 +9,6 @@ LDFLAGS=-g -pthread -lm -static -lrt
7LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) 9LDFLAGS += $(shell pkg-config --static --libs $(DEPS))
8DSO_LDFLAGS=-g -pthread -lm -lrt 10DSO_LDFLAGS=-g -pthread -lm -lrt
9DSO_LDFLAGS += $(shell pkg-config --libs $(DEPS)) 11DSO_LDFLAGS += $(shell pkg-config --libs $(DEPS))
10OBJECTS=$(SOURCES:.c=.o)
11INCLUDES = $(wildcard *.h)
12PYTHON = /usr/bin/env python3 12PYTHON = /usr/bin/env python3
13INSTALL = install -C 13INSTALL = install -C
14INSTALL_MKDIR = $(INSTALL) -d -m 755 14INSTALL_MKDIR = $(INSTALL) -d -m 755