Skip to content

Commit 2c8ea52

Browse files
authored
fix(makefile): Add missing dependencies from src/common/*h (#311)
* fix Missing dependenies * updated fixing missing dependencies
1 parent d6b744f commit 2c8ea52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ODEPS = $(SDEPS:.c=.o)
2020
DEPS = $(filter-out $(ODEPS), $(SDEPS))
2121
OBJS = $(DEPS:.c=.o)
2222
MAKEFILES = $(wildcard deps/*/Makefile)
23+
HEADERS_BINS = src/common/*.h src/version.h deps/logger/logger.h
2324

2425
export CC
2526

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

5051
build: $(BINS)
5152

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

5556
$(MAKEFILES):

0 commit comments

Comments
 (0)