blob: 9fb96f45bbcb3762b1f239e02afb2916a3cd039e [file] [log] [blame]
# Replace the line below with the location of xosgen
PREFIX=.
XOSGEN=$(PREFIX)/tool/xosgen
DJANGO_TARGET=$(PREFIX)/targets/service.xtarget
XPROTOS_TMP := $(shell mktemp)
xprotos = $(wildcard *.xproto)
all: models.py
models.py: $(xprotos)
$(XOSGEN) --attic attic --target $(DJANGO_TARGET) --output $@ $<
.PHONY: all
clean:
rm -f models.py