void-packages/utils/Makefile
Juan RP f043d3db38 Add clean_objs to all target.
--HG--
extra : convert_revision : 2e7e440048ad6a819fe40fb7fe11eba62a3b3405
2008-10-29 03:38:19 +01:00

21 lines
496 B
Makefile

CFLAGS += -Wall -Werror -O3 -funroll-all-loops -ftree-loop-linear
PREFIX ?= /usr/local
PKGDB_CFLAGS += -Wall -Werror -I$(PREFIX)/include
PKGDB_LDFLAGS += -lprop
all: xbps-digest xbps-pkgdb xbps-cmpver clean_objs
xbps-cmpver: xbps-cmpver.o
$(CC) $(CFLAGS) $< -o $@
xbps-digest: xbps-digest.o
$(CC) $(CFLAGS) $< -o $@
xbps-pkgdb: xbps-pkgdb.o
$(CC) $(PKGDB_CFLAGS) $(CFLAGS) $(PKGDB_LDFLAGS) $< -o $@
clean_objs:
-rm -f *.o
clean: clean_objs
-rm -f xbps-digest xbps-pkgdb xbps-cmpver