# DMakefile for DMouse, Lattice C V5.03.99 and beyond OD = dtmp:dmouse/ CFLAGS= -v -s DMOUSE = dhb:altc/dmouse HANDLER = l:dmouse-handler CSRCS = dmouse.c dmouse-handler.c COBJS = $(CSRCS:"*.c":"$(OD)*.o") ASRCS = tag.asm AOBJS = $(ASRCS:"*.asm":"$(OD)*.o") all: $(DMOUSE) $(HANDLER) $(DMOUSE) : $(OD)dmouse.o dcc $(CFLAGS) %(right) -o %(left) $(HANDLER) : $(OD)dmouse-handler.o $(OD)tag.o dcc $(CFLAGS) %(right) -o %(left) $(COBJS) : $(CSRCS) dcc $(CFLAGS) %(right) -o %(left) -c $(AOBJS) : $(ASRCS) das %(right) -o %(left)