#****************************************************************************/
#*																			*/
#*	cogito Gesellschaft fr Elektronikentwicklung mbH						*/
#*		info@cogito.de		http://www.cogito.de/							*/
#*	  																		*/
#*		gnu C makefile for mc68xxx single-board-computer startup library	*/
#*																			*/
#*				File			: Makefile									*/
#*				Author			: Frank Sautter								*/
#*				First Byte		: 12.06.96									*/
#*				Latest Change	: 18.06.96									*/
#*																			*/
#****************************************************************************/

ADEFS	= -I../include
CPU	= 68332

CDFLAGS	= -O -g
ADFLAGS =

CC		= gcc-m68k
CFLAGS  = ${INCLUDE} ${CDFLAGS}

AS	= as-m68k
AFLAGS	= -m${CPU} ${INCLUDE} ${ADEFS} --register-prefix-optional ${ADFLAGS}

TARGETS =	crt0.o romboot.o
INCLUDE =

all:  ${TARGETS}

crt0.o:		crt0.s
	${AS} ${AFLAGS} -o crt0.o  crt0.s

romboot.o:	romboot.s
	${AS} ${AFLAGS} -o romboot.o  romboot.s

clean:				
	rm *.o
