
##############################################################################
##    Makefile for 32-bit TMK1553B v3.04 for QNX. ELCUS, 1997,2008.         ##
##############################################################################

CFLAGS		=	-3 -Od -b -mf -Wc,-s -M -T 1
OFILES		=	man_init.o hw_init.o term.o io_chmod.o io_chown.o io_close.o io_dup.o io_handl.o io_open.o io_stat.o io_sys.o io_utime.o io_read.o io_write.o main.o support.o int_hand.o tmkllq4.o
HEADERS		=	struct.h define.h extern.h proto.h tmknll.c tmknll.h tmkllq4.h tmkstat.h tmkisr.c Makefile usemsg.txt

tmk1553b:	$(OFILES)
	$(CC) $(CFLAGS) -o tmk1553b $(OFILES)
	usemsg tmk1553b usemsg.txt
	chown root tmk1553b
	chmod +s tmk1553b
	ln -f ./tmk1553b t1553b32

$(OFILES):	$(HEADERS)
