mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix missing config.h include in build system
This commit is contained in:
parent
ed03a92cee
commit
9543c7406a
2 changed files with 3 additions and 3 deletions
|
@ -54,10 +54,10 @@ $(BUILDDIR)/include/villas/config.h: include/villas/config.h.in Makefile.config
|
|||
for PKG in $(call escape,$(LIB_PKGS)); do echo "#define WITH_$${PKG} 1" >> $@; done
|
||||
|
||||
# Compile
|
||||
$(BUILDDIR)/lib/%.o: lib/%.c | $$(dir $$@)
|
||||
$(BUILDDIR)/lib/%.o: lib/%.c $(BUILDDIR)/include/villas/config.h | $$(dir $$@)
|
||||
$(CC) $(LIB_CFLAGS) -c $< -o $@
|
||||
|
||||
lib: $(BUILDDIR)/include/villas/config.h $(patsubst %, lib%, $(SONAMES))
|
||||
lib: $(patsubst %, lib%, $(SONAMES))
|
||||
|
||||
install-lib: $(patsubst %, install-lib%, $(SONAMES))
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ run-unit-tests: tests
|
|||
$(BUILDDIR)/unit-tests
|
||||
|
||||
# Compile
|
||||
$(BUILDDIR)/tests/unit/%.o: tests/unit/%.c | $$(dir $$@)
|
||||
$(BUILDDIR)/tests/unit/%.o: tests/unit/%.c $(BUILDDIR)/include/villas/config.h | $$(dir $$@)
|
||||
$(CC) $(TEST_CFLAGS) -c $< -o $@
|
||||
|
||||
# Link
|
||||
|
|
Loading…
Add table
Reference in a new issue