head     1.3;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     91.08.10.22.24.48;  author bryce;  state Exp;
branches ;
next     1.2;

1.2
date     91.08.10.21.05.57;  author bryce;  state Exp;
branches ;
next     1.1;

1.1
date     91.08.09.21.04.56;  author bryce;  state Exp;
branches ;
next     ;


desc
@Makefile for the A2232 multi-serial driver
@


1.3
log
@Cleaner make clean
@
text
@#
#	lmkfile for the A2232 multi-serial driver
#
TARGET	    = serial.device
TOOL	    = execute c
TOOLFLAGS   = ""
SOURCE	    = device_abs.asm device_main.asm berlin_dispatch.asm berlin_io.asm server_6502.asm debug.asm
OBJS	    = device_abs.o   device_main.o   berlin_dispatch.o	 berlin_io.o   server_6502.o   debug.o

.asm.o:
	$(TOOL) $* $(TOOLFLAGS)

.c.o:
	lc -Lt $*


$(TARGET): $(OBJS)
	-protect >nil: devs:serial.device +d
	-delete >nil: devs:serial.device
	 blink.old from device_abs.o+device_main.o+berlin_dispatch.o+berlin_io.o+server_6502.o+debug.o lib lib:amiga.lib to serial.device NOALVS NODEBUG
	@@protect serial.device rwd
	@@copy serial.device devs:
	@@copy disk/devs/oldser.device devs:
	@@echo "good good good good good good good good good good good good"
	@@echo "good good good good good good good good good good good good"
	@@echo "good good good good good good good good good good good good"
	 flushdevice serial.device

#	@@copy serial.device disk/devs

server_6502.asm: server_6502.mos mos_to_dcb
	@@echo "--------Transform .mos to .asm--------------"
	mos_to_dcb >server_6502.asm server_6502.mos

server_6502.o:	server_6502.asm

mos_to_dcb: mos_to_dcb.o

test:  test.c
	c tinyprintf
	lc -j73 -cusfq -O -M -v test
	blink FROM LIB:c.o+"test.o"+"tinyprintf.o" TO "test" LIB LIB:lc.lib LIB:amiga.lib NODEBUG
	touch test.c
	copy test disk/c

clean:
	-delete \#?.o
	-delete \#?.lnk
	-delete \#?.map
	-delete devs:serial.device
	-delete serial.device
	-delete mos_to_dcb
	-delete server_6502.asm

disk:
	iconset RESET disk/disk
	protect disk/disk.info -e
	copy disk "A2232 Install:" all clone

backup:
	-makedir vax:bak/cerial3
	copy Makefile vax:bak/cerial3
	copy server.mos vax:bak/cerial3
	copy \#?.i vax:bak/cerial3
	copy \#?.asm vax:bak/cerial3
	copy \#?.c vax:bak/cerial3

internal:
	copy a:src/cerial/disk ghostwheel:amiga/Other/a2232 all

amigaterm:
	blink.old sun:src/amigaterm/term.ld to disk/AmigaTerm NODEBUG
	copy disk/AmigaTerm a:mytools/AmigaTerm

fonts:
	copy sun:src/amigaterm/fonts disk/fonts all
@


1.2
log
@Modernize.
@
text
@d52 2
@


1.1
log
@Initial revision
@
text
@d7 2
a8 2
SOURCE	    = device_abs.asm device_main.asm berlin_dispatch.asm berlin_io.asm berlin_6502.asm debug.asm
OBJS	    = device_abs.o   device_main.o   berlin_dispatch.o	 berlin_io.o   berlin_6502.o   debug.o
d20 1
a20 1
	 blink.old from device_abs.o+device_main.o+berlin_dispatch.o+berlin_io.o+berlin_6502.o+debug.o lib lib:amiga.lib to serial.device NOALVS NODEBUG
d23 1
a23 1
	@@copy a2232/devs/oldser.device devs:
d29 1
a29 1
#	@@copy serial.device a2232/devs
d31 1
a31 1
berlin_6502.asm: server.mos
d33 1
a33 1
	mos_to_dcb >berlin_6502.asm server.mos
d35 1
a35 1
berlin_6502.o:	berlin_6502.asm
d44 1
a44 1
	copy test a2232/c
d54 3
a56 3
	iconset RESET a2232/disk
	protect a2232/disk.info -e
	copy a2232 "A2232 Install:" all clone
d67 1
a67 1
	copy a:src/cerial/a2232 ghostwheel:amiga/Other/a2232 all
d70 2
a71 2
	blink.old sun:src/amigaterm/term.ld to a2232/AmigaTerm NODEBUG
	copy a2232/AmigaTerm a:mytools/AmigaTerm
d74 1
a74 1
	copy sun:src/amigaterm/fonts a2232/fonts all
@
