Makefile
author Dan Winship <danw@gnome.org>
Fri Feb 29 11:51:58 2008 -0500 (2008-02-29)
changeset 136 eef2b734f2cc
parent 115 26edeea5c95a
child 175 d453ed5bfcfe
permissions -rw-r--r--
use -Wmissing-prototypes to help find dead code

(by forcing us to declare functions static, allowing gcc to tell us
"warning: foo defined by not used")
danw@136
     1
CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes -g
krh@71
     2
LDLIBS = -lexpat -lz -g -lrpm -lcurl
krh@0
     3
krh@80
     4
all : razor test-driver
krh@80
     5
danw@115
     6
razor : razor.o yum.o main.o rpm.o types.o util.o
krh@80
     7
danw@112
     8
*.o : razor.h razor-internal.h
danw@115
     9
razor.o : types.h
danw@112
    10
danw@115
    11
test-driver : razor.o types.o util.o test-driver.o
krh@80
    12
krh@80
    13
test : test-driver
krh@92
    14
	./test-driver test.xml
krh@0
    15
krh@0
    16
clean :
krh@0
    17
	rm -f *.o razor