Public paste
Undefined
By: Guest | Date: Jul 6 2016 12:41 | Format: make | Expires: never | Size: 327 B | Hits: 367

  1. PREFIX?=/usr/local
  2. CFLAGS=-g -Wall -I${PREFIX}/apr/include/apr-1
  3. LDFLAGS=-L${PREFIX}/apr/lib -lapr-1 -laprutil-1
  4.  
  5. all: devpkg
  6.  
  7. devpkg: bstrlib.o db.o shell.o commands.o
  8.  
  9. install: all
  10.         install -d $(DESTDIR)/$(PREFIX)/bin/
  11.         install devpkg $(DESTDIR)/$(PREFIX)/bin/
  12.  
  13. clean:
  14.         rm -f *.o
  15.         rm -f devpkg
  16.         rm -rf *.dSYM
  17.