2011-11-16 00:21:53 +00:00
|
|
|
PREFIX?=/usr/local
|
|
|
|
CFLAGS=-g -Wall -I${PREFIX}/apr/include/apr-1 -I${PREFIX}/apr/include/apr-util-1
|
|
|
|
LDFLAGS=-lapr-1 -pthread -laprutil-1
|
|
|
|
|
|
|
|
all: devpkg
|
|
|
|
|
|
|
|
devpkg: bstrlib.o db.o shell.o commands.o
|
|
|
|
|
|
|
|
install: all
|
|
|
|
install -d $(DESTDIR)/$(PREFIX)/bin/
|
|
|
|
install devpkg $(DESTDIR)/$(PREFIX)/bin/
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|
|
|
|
rm -f devpkg
|
|
|
|
rm -rf *.dSYM
|