#---------------------------------------------------------------------------
# makefile to create "mm" MIDI utility
# This makefile is to be used with Lattice 5.1x and blink

OBJECTS=  mm.o

NAME   =  mm

CFLAGS =  -b1 -cfist -v -i///include -iLATTICEI:
# INCLUDE: contains at V37 Native Developer includes
# LATTICEI: contains Lattice 5.1 includes
# ///include has the camd & realtime includes

CC     =  lc
LN     =  blink

LIBS = LATTICEL:lc.lib LIB:amiga.lib 
# LATTICEL: contains the standard lattice libraries
# LIB: contains the Native Developer Update linker libs

#  RULES:
.c.o:
		$(CC)  $(CFLAGS) $*.c

#  LINK:
$(NAME):	$(OBJECTS)
		$(LN) FROM LATTICEL:c.o,$(OBJECTS) TO $(NAME) LIBRARY $(LIBS)
