2001-11-04 21:10:15 +01:00
|
|
|
#
|
|
|
|
# makefile for device.lib
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2001-11-14 00:36:45 +01:00
|
|
|
!include "..\mkfiles\generic.mak"
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
# MICROSOFT C
|
|
|
|
# -----------
|
|
|
|
#MODEL = s
|
|
|
|
#CFLAGS = /c /Gs /A$(MODEL)
|
|
|
|
#AFLAGS = /Mx /Dmem$(MODEL)=1
|
|
|
|
#TERM = ;
|
|
|
|
|
|
|
|
# BORLAND C
|
|
|
|
# -----------
|
|
|
|
#MODEL = s
|
|
|
|
#CFLAGS = -c -m$(MODEL)
|
|
|
|
#AFLAGS = /Mx /Dmem$(MODEL)=1
|
|
|
|
#LIBFLAGS = /c
|
|
|
|
|
2002-01-27 02:13:07 +01:00
|
|
|
OBJS = floppy.obj getvec.obj rdpcclk.obj rdatclk.obj \
|
2001-11-04 21:10:15 +01:00
|
|
|
wrpcclk.obj wratclk.obj
|
|
|
|
|
2002-01-27 02:13:07 +01:00
|
|
|
LIBOBJS= +floppy +getvec +rdpcclk +rdatclk +wrpcclk +wratclk
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build the LIBRARY
|
|
|
|
# -----------------
|
|
|
|
all: production
|
|
|
|
|
|
|
|
production: ..\lib\device.lib
|
|
|
|
|
|
|
|
..\lib\device.lib: device.lib
|
|
|
|
copy device.lib ..\lib
|
|
|
|
|
|
|
|
clobber: clean
|
2001-11-14 00:36:45 +01:00
|
|
|
-$(RM) device.lib status.me ..\lib\device.lib
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
clean:
|
2001-11-18 18:48:20 +01:00
|
|
|
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.cod *.err
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
device.lib : $(OBJS)
|
2001-11-14 00:36:45 +01:00
|
|
|
-$(RM) device.lib
|
2001-11-04 21:10:15 +01:00
|
|
|
$(LIBUTIL) $(LIBFLAGS) device $(LIBOBJS) $(LIBTERM)
|
2001-11-18 00:26:45 +01:00
|
|
|
|