Reorganize the tree splitting stuff on its own dir.
--HG-- extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
This commit is contained in:
33
bin/Makefile
Normal file
33
bin/Makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
include ../vars.mk
|
||||
|
||||
EXTRA_CFLAGS = -funroll-all-loops -ftree-loop-linear
|
||||
LDFLAGS += -L../lib -Wl,-rpath $$(pwd)/../lib -lxbps
|
||||
|
||||
BINS = xbps-bin xbps-cmpver xbps-digest xbps-pkgdb
|
||||
|
||||
all: $(BINS)
|
||||
.PHONY: all
|
||||
|
||||
xbps-bin: xbps-bin.o
|
||||
$(CC) $(LDFLAGS) $^ -o $@
|
||||
|
||||
xbps-cmpver: xbps-cmpver.o
|
||||
$(CC) $^ -o $@
|
||||
|
||||
xbps-digest: xbps-digest.o
|
||||
$(CC) $(EXTRA_CFLAGS) $(LDFLAGS) $^ -o $@
|
||||
|
||||
xbps-pkgdb: xbps-pkgdb.o
|
||||
$(CC) $(LDFLAGS) $^ -o $@
|
||||
|
||||
.PHONY: clean
|
||||
clean: clean-bins clean-objs
|
||||
|
||||
clean-bins:
|
||||
-rm -f $(BINS)
|
||||
|
||||
clean-objs:
|
||||
-rm -f *.o
|
||||
|
||||
install: $(BINS)
|
||||
install -D $(BINS)
|
||||
Reference in New Issue
Block a user