vp-build/bin/xbps-digest/Makefile
Juan RP 7740958643 Split repo commands into the new xbps-repo bin.
- Remove lib/info.c that doesn't belong in the lib and add it into the
  bins.
- Every binary now uses its own directory on bin/.

This is in preparation for future changes for correct behaviour of
the library and binaries.

--HG--
extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
2009-02-05 14:46:09 +01:00

26 lines
383 B
Makefile

TOPDIR = ../..
include $(TOPDIR)/vars.mk
EXTRA_CFLAGS = -funroll-all-loops -ftree-loop-linear
OBJS = main.o
BIN = xbps-digest
all: $(BIN)
.PHONY: all
$(BIN): $(OBJS)
$(CC) $(EXTRA_CFLAGS) $(LDFLAGS) $^ -o $@
.PHONY: clean
clean: clean-bins clean-objs
clean-bins:
-rm -f $(BIN)
clean-objs:
-rm -f *.o
install: $(BIN)
install -d $(SBINDIR)
install -m 755 $(BIN) $(SBINDIR)