2001-11-04 21:10:15 +01:00
|
|
|
#
|
|
|
|
# makefile for device.lib
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2003-09-15 12:46:24 +02: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
|
|
|
|
|
2004-05-10 22:49:43 +02:00
|
|
|
OBJS = floppy.obj rdpcclk.obj wrpcclk.obj wratclk.obj
|
2001-11-04 21:10:15 +01:00
|
|
|
|
2009-05-19 23:39:29 +02:00
|
|
|
LIBOBJS= +floppy.obj +rdpcclk.obj +wrpcclk.obj +wratclk.obj
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build the LIBRARY
|
|
|
|
# -----------------
|
|
|
|
all: production
|
|
|
|
|
2009-05-19 23:39:29 +02:00
|
|
|
production: ../lib/device.lib
|
2001-11-04 21:10:15 +01:00
|
|
|
|
2009-05-19 23:39:29 +02:00
|
|
|
../lib/device.lib: device.lib
|
|
|
|
$(CP) device.lib ..$(DIRSEP)lib
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
clobber: clean
|
2009-05-19 23:39:29 +02:00
|
|
|
-$(RM) device.lib status.me ..$(DIRSEP)lib$(DIRSEP)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
|
|
|
|