aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs/Makefile.lfs
diff options
context:
space:
mode:
Diffstat (limited to 'udev-lfs/Makefile.lfs')
-rw-r--r--udev-lfs/Makefile.lfs8
1 files changed, 4 insertions, 4 deletions
diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs
index b3a864977..9bce8cf2a 100644
--- a/udev-lfs/Makefile.lfs
+++ b/udev-lfs/Makefile.lfs
@@ -159,17 +159,17 @@ common: udev-lfs-$(VERSION)/cfg.h
@mkdir -p build
cp udev-lfs-$(VERSION)/cfg.h .
-build/%o: %c
+build/%o: %c common
@echo CC $<
$(VB)gcc -c $(WARN) $(OPTIONS2) $(INCLUDE) $(DEF) -o $@ $<
# Sources from src/libudev use -fvisibility=hidden
-build/%o: src/libudev/%c
+build/%o: src/libudev/%c common
@echo CC $<
$(VB)gcc -c $(WARN) $(OPTIONS) $(INCLUDE) $(DEF) -o $@ $<
# Sources from src/shared use -fvisibility=hidden
-build/%o: src/shared/%c
+build/%o: src/shared/%c common
@echo CC $<
$(VB)gcc -c $(WARN) $(OPTIONS) $(INCLUDE) $(DEF) -o $@ $<
@@ -246,7 +246,7 @@ build/collect: build/collect.o build/$(COMMON_LIB)
$(VB)gcc build/collect.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS)
$(VB)strip --strip-unneeded $@
-build/%pc: %pc.in
+build/%pc: %pc.in common
@echo GEN $@
@$(SED_PROCESS)