Explorar o código

- fixed latest changes: restored @ (don't show .d creation commands), restored
set -e, replaced {} with () (more portable)

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

+ 2 - 2
Makefile.rules

@@ -27,9 +27,9 @@
 	$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) -c $< -o $@
 
 %.d: %.c $(ALLDEP)
-	$(MKDEP) $(CFLAGS) $(INCLUDES) $(DEFS) $< \
+	@set -e; $(MKDEP) $(CFLAGS) $(INCLUDES) $(DEFS) $< \
 	    |  sed 's#\(\($(*D)/\)\{0,1\}$(*F)\)\.o[ :]*#$*.o $@ : #g' > $@; \
-	    test -s $@ || { rm -f $@; false; }
+	    test -s $@ || ( rm -f $@; false )
 
 # use RPATH and SER_LIBS if needed (make install and the module depends
 # on some ser libs)