Skip to content

Commit 1fc20aa

Browse files
committed
updated fixing missing dependencies
1 parent d024c93 commit 1fc20aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
AUTOFIX_BINS = src/common/*.h src/version.h deps/logger/logger.h
21
CC ?= cc
32
PREFIX ?= /usr/local
43

@@ -21,6 +20,7 @@ ODEPS = $(SDEPS:.c=.o)
2120
DEPS = $(filter-out $(ODEPS), $(SDEPS))
2221
OBJS = $(DEPS:.c=.o)
2322
MAKEFILES = $(wildcard deps/*/Makefile)
23+
HEADERS_BINS = src/common/*.h src/version.h deps/logger/logger.h
2424

2525
export CC
2626

@@ -36,7 +36,7 @@ endif
3636

3737
ifneq (0,$(PTHREADS))
3838
ifndef NO_PTHREADS
39-
CFLAGS += $(shell ./scripts/feature-test-pthreads && echo "-DHAVE_PTHREADS=1 -pthread" || echo "-DHAVE_PTHREADS=0")
39+
CFLAGS += $(shell ./scripts/feature-test-pthreads && echo "-DHAVE_PTHREADS=1 -pthread")
4040
endif
4141
endif
4242

@@ -50,7 +50,7 @@ all: $(BINS)
5050

5151
build: $(BINS)
5252

53-
$(BINS): $(SRC) $(COMMON_SRC) $(MAKEFILES) $(OBJS) $(AUTOFIX_BINS)
53+
$(BINS): $(SRC) $(COMMON_SRC) $(MAKEFILES) $(OBJS) $(HEADERS_BINS)
5454
$(CC) $(CFLAGS) -o $@ $(COMMON_SRC) src/$(@:.exe=).c $(OBJS) $(LDFLAGS)
5555

5656
$(MAKEFILES):

0 commit comments

Comments
 (0)