Makefile
author Kristian H?gsberg <krh@redhat.com>
Wed Mar 12 17:00:10 2008 -0400 (2008-03-12)
changeset 176 1f7ea90fb2c1
parent 136 eef2b734f2cc
child 199 9ce6d4e1b067
permissions -rw-r--r--
install: Handle the case where a directory already exists.
     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 reset : ./razor
    17 	rm -rf install
    18 	./razor init
    19 
    20 clean :
    21 	rm -f *.o razor