aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bcb65b5..d8a77d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,16 @@
-VERSION = 1.0
+VERSION = 1.1
NAME = rpmtools
FROMC = rpm2header #rpm-find-leaves
-FROMCC = gendepslist hdlist2names hdlist2files
+FROMCC = gendepslist2 hdlist2names hdlist2files hdlist2prereq
ALL = $(FROMC) $(FROMCC)
+CFLAGS = -Wall -g
LIBRPM = /usr/lib/librpm.so.0 -ldb1 -lz -I/usr/include/rpm -lpopt
all: $(ALL)
install: $(ALL)
install -d $(PREFIX)/usr/bin
- install -s $(ALL) $(PREFIX)/usr/bin
+ install -s $(ALL) genhdlist_cz2 $(PREFIX)/usr/bin
$(FROMCC): %: %.cc
$(CXX) $(CFLAGS) $< $(LIBRPM) -o $@