LC1 = lc1 -. $(LC1FLAGS) -isys:include/ -isys:include/lattice/ -oram:temp.q $*.c
LC1DBG = lc1 -. -d -b -dBUGMACROS -i:linkh/ -oram:temp.q $*.c
LC1B = lc1 -. -b -isys:include/ -isys:include/lattice/ -oram:temp.q $*.c
LC2 = lc2 -. $(LC2FLAGS) -o$@ ram:temp.q
LC2R = lc2 -. -r -v -s -o$@ ram:temp.q

.c.o:
  @echo "Compiling $*.c"
  @$(LC1)
  @$(LC2)

.a.o:
  @echo "Assembling $*.a"
  @Asm:c/Assem $*.a -o $*.o -i Asm:Include

