diff options
author | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-02-17 17:58:25 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-02-17 17:58:25 +0000 |
commit | ec103b683b1679b09e1d1a54b14a4ba178d67a37 (patch) | |
tree | baeb8862d2fbee36aa6c58c282a3383c9aeb7c4c /Makefile | |
parent | 30066bc80a46d6b873549c8d6b31e426195ecfbe (diff) | |
download | rpmtools-topic/MandrakeSoft.tar rpmtools-topic/MandrakeSoft.tar.gz rpmtools-topic/MandrakeSoft.tar.bz2 rpmtools-topic/MandrakeSoft.tar.xz rpmtools-topic/MandrakeSoft.zip |
Initial revisioncookertopic/MandrakeSoft
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..357ec5e --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +FROMC = rpm2header #rpm-find-leaves +FROMCC = gendepslist hdlist2names hdlist2files +ALL = $(FROMC) $(FROMCC) +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 + +$(FROMCC): %: %.cc + $(CXX) $(CFLAGS) $< $(LIBRPM) -o $@ + +$(FROMC): %: %.c + $(CC) $(CFLAGS) $< $(LIBRPM) -o $@ + +clean: + rm -rf *~ $(ALL) |