summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-17 19:35:58 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-17 19:35:58 +0000
commitea07550f6f781b299b026c81bcb9904d911ab47f (patch)
tree1b947a5f5f53c3109fde3aed848f35d1d8c5778f
parent2b328c9fd366f968bba80316a000cbe491032264 (diff)
downloadldetect-ea07550f6f781b299b026c81bcb9904d911ab47f.tar
ldetect-ea07550f6f781b299b026c81bcb9904d911ab47f.tar.gz
ldetect-ea07550f6f781b299b026c81bcb9904d911ab47f.tar.bz2
ldetect-ea07550f6f781b299b026c81bcb9904d911ab47f.tar.xz
ldetect-ea07550f6f781b299b026c81bcb9904d911ab47f.zip
enables to build lspcidrake.static in order to test
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9a0fc0b..23225bc 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,10 @@ RPM ?= $(HOME)/rpm
build: $(binaries) $(libraries)
+lspcidrake.static: lspcidrake.c libldetect.a
+ $(CC) $(CFLAGS) -o $@ $^ -lpci -lkmod -llzma -lz -lcompat -lc
+ #$(CC) $(CFLAGS) $^ libldetect.a -lkmod -lxz -lz.a -o $@
+
lspcidrake: lspcidrake.c libldetect.so
$(lib_major).$(LIB_MINOR): $(lib_objs)