Makefile
author Kristian H?gsberg <krh@redhat.com>
Thu Sep 20 19:28:09 2007 -0400 (2007-09-20)
changeset 39 5fe9c9286cd0
parent 37 094daff9a8dc
child 43 d37d57c99cac
permissions -rw-r--r--
Split the property pool into three pools; requires, provides and packages.

This simplifies the remapping code a lot and reduces memory pressure
during import a bit.
krh@39
     1
CFLAGS = -Wall -g -O2
krh@28
     2
LDLIBS = -lexpat -g -lrpm
krh@0
     3
krh@27
     4
razor : razor.o import.o sha1.o
krh@0
     5
krh@26
     6
import : razor primary.xml.gz
krh@26
     7
	zcat primary.xml.gz | ./razor eat-yum
krh@26
     8
krh@26
     9
primary.xml.gz :
krh@26
    10
	wget http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/repodata/primary.xml.gz
krh@26
    11
krh@0
    12
clean :
krh@0
    13
	rm -f *.o razor