Makefile
author Dan Winship <danw@gnome.org>
Tue Mar 11 11:44:51 2008 -0400 (2008-03-11)
changeset 161 7762db2848bf
parent 115 26edeea5c95a
child 175 d453ed5bfcfe
permissions -rw-r--r--
update to deal with obsoletes better

when looking for a package "foo" to install/update, we have to look
not just for a package named "foo", but also any package that
obsoletes+provides "foo".

So redo the algorithm to satisfy *all* installs/removes from the
property list, so now we don't need to walk the package list at all.
     1 CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes -g
     2 LDLIBS = -lexpat -lz -g -lrpm -lcurl
     3 
     4 all : razor test-driver
     5 
     6 razor : razor.o yum.o main.o rpm.o types.o util.o
     7 
     8 *.o : razor.h razor-internal.h
     9 razor.o : types.h
    10 
    11 test-driver : razor.o types.o util.o test-driver.o
    12 
    13 test : test-driver
    14 	./test-driver test.xml
    15 
    16 clean :
    17 	rm -f *.o razor