diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-07 15:42:59 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-07 15:42:59 -0400 |
commit | 88f3bbb8fe301815ac2115b7edf2fbbc61390c6b (patch) | |
tree | 039bc0ee40e24c509b1862df9c18f61f75de245e /Makefile | |
parent | f32da4ead891548cd23ec0dd6408ef3125b4e9e3 (diff) |
hard-code dependencies instead of using wildcard
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,6 @@ | |||
1 | SOURCES = $(wildcard *.c) | 1 | SOURCES = client.c gitversion.c log.c mach.c main.c util.c |
2 | OBJECTS=$(SOURCES:.c=.o) | ||
3 | INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h | ||
2 | DEPS=toxcore | 4 | DEPS=toxcore |
3 | CC=gcc | 5 | CC=gcc |
4 | CFLAGS=-g -Wall #-std=c99 | 6 | CFLAGS=-g -Wall #-std=c99 |
@@ -7,8 +9,6 @@ LDFLAGS=-g -pthread -lm -static -lrt | |||
7 | LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) | 9 | LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) |
8 | DSO_LDFLAGS=-g -pthread -lm -lrt | 10 | DSO_LDFLAGS=-g -pthread -lm -lrt |
9 | DSO_LDFLAGS += $(shell pkg-config --libs $(DEPS)) | 11 | DSO_LDFLAGS += $(shell pkg-config --libs $(DEPS)) |
10 | OBJECTS=$(SOURCES:.c=.o) | ||
11 | INCLUDES = $(wildcard *.h) | ||
12 | PYTHON = /usr/bin/env python3 | 12 | PYTHON = /usr/bin/env python3 |
13 | INSTALL = install -C | 13 | INSTALL = install -C |
14 | INSTALL_MKDIR = $(INSTALL) -d -m 755 | 14 | INSTALL_MKDIR = $(INSTALL) -d -m 755 |