Browse code

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

Vaclav Kubart authored on 02/03/2007 13:31:08
Showing 1 changed files
... ...
@@ -564,9 +564,11 @@ dep_mods += $(filter $(lib_dependent_modules), $(static_modules))
564 564
 ifneq ($(strip $(dep_mods)),)
565 565
 modules:	libs
566 566
 
567
+install-modules:	install-libs
568
+
567 569
 endif
568 570
 
569
-.PHONY: clean_libs libs
571
+.PHONY: clean_libs libs install-libs
570 572
 
571 573
 clean_libs:
572 574
 			$(MAKE) -f Makefile.ser -C lib proper
... ...
@@ -574,9 +576,9 @@ clean_libs:
574 576
 # cleaning in libs always when cleaning ser
575 577
 clean:	clean_libs
576 578
 
577
-# remove 'libs' target from targets
578
-lib_goals = $(patsubst libs,,$(MAKECMDGOALS))
579
-
580 579
 libs:	
581
-		$(MAKE) -C lib -f Makefile.ser $(lib_goals)
580
+		$(MAKE) -C lib -f Makefile.ser
581
+
582
+install-libs:	
583
+		$(MAKE) -C lib -f Makefile.ser install
582 584