Browse Source

Makefile cleaning

Use $^ instead of explicitely listing .c files in recipe.
master
Thomas Preud'homme 9 years ago
parent
commit
d75a8ea2a1
  1. 2
      Makefile

2
Makefile

@ -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

Loading…
Cancel
Save