Browse Source

Makefile cleaning

Use $^ instead of explicitely listing .c files in recipe.
master
Thomas Preud'homme 7 years ago
parent
commit
d75a8ea2a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

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