2008-10-20 14:34:27 +00:00
|
|
|
# Override PREFIX to look in correct path.
|
|
|
|
#
|
|
|
|
PREFIX ?= /usr/local
|
|
|
|
CFLAGS += -Wall -Werror -I$(PREFIX)/include
|
2008-10-23 00:46:14 +00:00
|
|
|
LDFLAGS += -lprop
|
2008-10-20 14:34:27 +00:00
|
|
|
|
|
|
|
all: xbps-pkgdb
|
|
|
|
|
|
|
|
xbps-pkgdb: xbps-pkgdb.o
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f *.o *.core xbps-pkgdb
|