vp-build/bin/xbps-bin/Makefile
Juan RP 61f0b09698 New dependency/install/unpack WIP code.
This implementation will be faster and resolv the dependency chain
correctly taking into account indirect/direct deps and priority.

--HG--
extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
2009-02-07 13:27:24 +01:00

25 lines
314 B
Makefile

TOPDIR = ../..
include $(TOPDIR)/vars.mk
OBJS = main.o
BIN = xbps-bin
all: $(BIN)
.PHONY: all
$(BIN): $(OBJS)
$(CC) -g $(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)