Browse code

- makefile fix

Andrei Pelinescu-Onciul authored on 22/11/2004 11:59:39
Showing 1 changed files
... ...
@@ -123,7 +123,7 @@ include Makefile.rules
123 123
 
124 124
 #extra targets 
125 125
 
126
-$(NAME): static_modules
126
+$(NAME): $(extra_objs) # static_modules
127 127
 
128 128
 lex.yy.c: cfg.lex cfg.tab.h $(ALLDEP)
129 129
 	$(LEX) $<
... ...
@@ -146,8 +146,7 @@ modules:
146 146
 		fi ; \
147 147
 	done 
148 148
 
149
-.PHONY: static_modules
150
-static_modules:
149
+$(extra_objs):
151 150
 	-@echo "Extra objs: $(extra_objs)" 
152 151
 	-@for r in $(static_modules_path) "" ; do \
153 152
 		if [ -n "$$r" ]; then \