From 88f3bbb8fe301815ac2115b7edf2fbbc61390c6b Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 7 Oct 2021 15:42:59 -0400 Subject: hard-code dependencies instead of using wildcard --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 94a7956..08bd883 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -SOURCES = $(wildcard *.c) +SOURCES = client.c gitversion.c log.c mach.c main.c util.c +OBJECTS=$(SOURCES:.c=.o) +INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h DEPS=toxcore CC=gcc CFLAGS=-g -Wall #-std=c99 @@ -7,8 +9,6 @@ LDFLAGS=-g -pthread -lm -static -lrt LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) DSO_LDFLAGS=-g -pthread -lm -lrt DSO_LDFLAGS += $(shell pkg-config --libs $(DEPS)) -OBJECTS=$(SOURCES:.c=.o) -INCLUDES = $(wildcard *.h) PYTHON = /usr/bin/env python3 INSTALL = install -C INSTALL_MKDIR = $(INSTALL) -d -m 755 -- cgit v1.2.3