# makefile for precompiled include files for
# both aztec and lattice compilers.  Also builds prototypes
# for lattice


# aztec .pre file

PRE=cxusr.pre
SYM=cxusr.sym
PRESRC=sysall.h
PRAGMA=cxlib.p

.fd.p:
	fd2pragma $*.fd $*.p

all: $(PRAGMA) $(PRE) $(SYM)

$(PRAGMA): cxlib.fd


$(PRE): $(PRESRC)
	cc -DIAZTEC -A -o RAM:pre_garbage.asm +H$(PRE) $(PRESRC)

$(SYM): $(PRESRC)
	lc1 -DILATTICE -ph -o$(SYM) $(PRESRC)
