void-packages/xbps-pkgdb/Makefile

14 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