2
0
Andrei Pelinescu-Onciul 21 жил өмнө
parent
commit
fa60aefeb6
1 өөрчлөгдсөн 2 нэмэгдсэн , 3 устгасан
  1. 2 3
      Makefile

+ 2 - 3
Makefile

@@ -123,7 +123,7 @@ include Makefile.rules
 
 #extra targets 
 
-$(NAME): static_modules
+$(NAME): $(extra_objs) # static_modules
 
 lex.yy.c: cfg.lex cfg.tab.h $(ALLDEP)
 	$(LEX) $<
@@ -146,8 +146,7 @@ modules:
 		fi ; \
 	done 
 
-.PHONY: static_modules
-static_modules:
+$(extra_objs):
 	-@echo "Extra objs: $(extra_objs)" 
 	-@for r in $(static_modules_path) "" ; do \
 		if [ -n "$$r" ]; then \