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