Kaynağa Gözat

little correction related to shared libs compilation (don't use SER's targets for libs)

Vaclav Kubart 18 yıl önce
ebeveyn
işleme
173caee354
1 değiştirilmiş dosya ile 7 ekleme ve 5 silme
  1. 7 5
      Makefile

+ 7 - 5
Makefile

@@ -564,9 +564,11 @@ dep_mods += $(filter $(lib_dependent_modules), $(static_modules))
 ifneq ($(strip $(dep_mods)),)
 modules:	libs
 
+install-modules:	install-libs
+
 endif
 
-.PHONY: clean_libs libs
+.PHONY: clean_libs libs install-libs
 
 clean_libs:
 			$(MAKE) -f Makefile.ser -C lib proper
@@ -574,9 +576,9 @@ clean_libs:
 # cleaning in libs always when cleaning ser
 clean:	clean_libs
 
-# remove 'libs' target from targets
-lib_goals = $(patsubst libs,,$(MAKECMDGOALS))
-
 libs:	
-		$(MAKE) -C lib -f Makefile.ser $(lib_goals)
+		$(MAKE) -C lib -f Makefile.ser
+
+install-libs:	
+		$(MAKE) -C lib -f Makefile.ser install