home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
AMISL083.ZIP
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1992-05-02
|
2KB
|
73 lines
######################################################################
#
# Makefile for the Alternate Multiplex Interrupt Specification library
#
# Public Domain 1992 Ralf Brown
# Version 0.83
# Last Edit: 5/2/92
#
######################################################################
# the C compiler to invoke
CC = tcc
# memory model
MDL = c
# the flags to pass to the C compiler
CFLAGS = -m$(MDL)
# the linker to invoke
LINK = tlink
# the flags to pass to the linker
LFLAGS = /t /m
# the assembler to invoke
ASM = tasm
AMDL = __TINY__
AMDL_C = __COMPACT__
AFLAGS = /Mx
# default rule for making a .EXE from a C source file
.c.exe:
$(CC) $(CFLAGS) $<
# default rule for making a .COM from an object module
.obj.com:
$(LINK) $(LFLAGS) $< amis.obj
# default rule for making an object module from a C source file
.c.obj:
$(CC) $(CFLAGS) -c $<
# default rule for making an object module from an assembler source file
.asm.obj:
$(ASM) $(AFLAGS) $*
all: amitsrs.exe popup.exe remove.exe \
fastmous.com nolpt.com switchar.com vgablank.com note.com
amis.obj: amis.asm amis.mac
$(ASM) $(AFLAGS) /D$(AMDL) $*
amitsrs.exe: amitsrs.c
popup.exe: popup.c findtsrs.obj
$(CC) $(CFLAGS) popup.c findtsrs.obj
remove.exe: remove.c findtsrs.obj uninstal.obj
$(CC) $(CFLAGS) remove.c findtsrs.obj uninstal.obj
fastmous.com: fastmous.obj amis.obj
nolpt.com: nolpt.obj amis.obj
note.com: note.obj amis.obj
switchar.com: switchar.obj amis.obj
vgablank.com: vgablank.obj amis.obj
uninstal.obj: uninstal.asm amis.mac
$(ASM) $(AFLAGS) /D$(AMDL_C) uninstal.asm
findtsrs.obj: findtsrs.c
fastmous.obj: fastmous.asm amis.mac
nolpt.obj: nolpt.asm amis.mac
note.obj: note.asm amis.mac
switchar.obj: switchar.asm amis.mac
vgablank.obj: vgablank.asm amis.mac