void-packages/xbps-pkgdb/Makefile
Juan RP b56ee5022d xbps-pkgdb: do not hardcode rpath in Makefile.
--HG--
extra : convert_revision : 94e62049253ce109231786003a432a0949990ee8
2008-10-23 02:46:14 +02:00

13 lines
246 B
Makefile

# Override PREFIX to look in correct path.
#
PREFIX ?= /usr/local
CFLAGS += -Wall -Werror -I$(PREFIX)/include
LDFLAGS += -lprop
all: xbps-pkgdb
xbps-pkgdb: xbps-pkgdb.o
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
clean:
-rm -f *.o *.core xbps-pkgdb