summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-12-01 13:27:11 +0100
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-12-01 14:33:43 -0800
commit67c40d928a3c3567530b2b002abb01e7408c7863 (patch)
tree264562a90ad977f9e5d7b208639a23f414f38a3c
parent551c26ee1720e97a2b5fcd445eb0b6453739ec97 (diff)
downloadcrda-67c40d928a3c3567530b2b002abb01e7408c7863.tar.gz
crda-67c40d928a3c3567530b2b002abb01e7408c7863.tar.bz2
crda-67c40d928a3c3567530b2b002abb01e7408c7863.zip
Use Makefile dependency information for linking.v0.9.5l-
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cde9482..ff3bf31 100644
--- a/Makefile
+++ b/Makefile
@@ -43,15 +43,15 @@ keys-%.c: utils/key2pub.py $(PUBKEY_DIR)/$(wildcard *.pem)
crda: reglib.o crda.o
$(NQ) ' LD ' $@
- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o crda.o `pkg-config --libs libnl-1` $(LDLIBS)
+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ `pkg-config --libs libnl-1` $(LDLIBS)
regdbdump: reglib.o regdbdump.o print-regdom.o
$(NQ) ' LD ' $@
- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o print-regdom.o $(LDLIBS)
+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
intersect: reglib.o intersect.o print-regdom.o
$(NQ) ' LD ' $@
- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o print-regdom.o $(LDLIBS)
+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
verify: $(REG_BIN) regdbdump
$(NQ) ' CHK $(REG_BIN)'