# This is an automatically generated file; please do not edit it manually.
# Instead, run makefile_builder.sh from the parent directory.

# Base of the exult source
UCCDIR:=$(top_srcdir)/usecode/compiler
UCC:=$(UCCDIR)/ucc

EXPACKDIR:=$(top_srcdir)/tools
EXPACK:=$(EXPACKDIR)/expack

USECODE_OBJECTS :=	\
	usecode.uc

sidir := $(datadir)/exult/silverseed/mods

si_DATA :=	\
	curecantra.cfg

sipatchdir := $(sidir)/curecantra/patch

nodist_sipatch_DATA :=	\
	usecode

EXTRA_DIST :=	\
	Makefile.mingw	\
	$(USECODE_OBJECTS)	\
	$(si_DATA)

CLEANFILES :=	\
	usecode

$(UCC):
	+(cd $(UCCDIR);$(MAKE))


usecode: $(UCC) $(USECODE_OBJECTS)
	$(UCC) -I . -o usecode ./usecode.uc

