blob: e9bbf8aa5ffd272aa6902f11038a9a220c6708a0 (
plain) (
tree)
|
|
INSTALL = install
YACC = yacc
PROJECT = userland.gpr
GENERATED = bin/expr/expr.c
all: prepare
gprbuild -P $(PROJECT) -p
clean:
gprclean -P $(PROJECT) -p
rm -f $(GENERATED)
install: all
gprinstall -P $(PROJECT) -p --prefix=$(if $(DESTDIR),$(DESTDIR),/)
$(INSTALL) -Dm0755 bin/false/false.sh $(DESTDIR)/bin/false
$(INSTALL) -Dm0755 bin/true/true.sh $(DESTDIR)/bin/true
prepare: $(GENERATED)
.y.c:
$(YACC) -o $@ $<
|