Makefile cleaning
Use $^ instead of explicitely listing .c files in recipe.
Esse commit está contido em:
pai
fe2590b471
commit
d75a8ea2a1
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
|
||||
|
|
Carregando…
Referência em uma nova issue