Explorar o código

- make file dependency creation in subdirs bug fixed
(all the .d files in the core's subdirs where buggy; the bug was found by Bogdan when compiling aaa_server)

Andrei Pelinescu-Onciul %!s(int64=22) %!d(string=hai) anos
pai
achega
debad23c2e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile.rules

+ 1 - 1
Makefile.rules

@@ -19,7 +19,7 @@
 
 %.d: %.c $(ALLDEP)
 	@set -e; $(MKDEP) $(DEFS) $< \
-	|  sed 's#\($*\)\.o[ :]*#\1.o $@ : #g' > $@; \
+	|  sed 's#\(\($*D)\)\?$(*F)\)\.o[ :]*#$*.o $@ : #g' > $@; \
 	[ -s $@ ] || rm -f $@