Makefile cleaning

Use $^ instead of explicitely listing .c files in recipe.
Este commit está contenido en:
Thomas Preud'homme 2012-10-22 11:22:05 +02:00
padre fe2590b471
commit d75a8ea2a1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -28,7 +28,7 @@ MANDIR := $(DESTDIR)$(MANDIR)
pstack : pstack.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o pstack pstack.c $(LDFLAGS)
$(CC) $(CPPFLAGS) $(CFLAGS) -o pstack $^ $(LDFLAGS)
clean:
rm -f pstack