home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
memory
/
amisl081.arj
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1992-04-19
|
2KB
|
73 lines
######################################################################
#
# Makefile for the Alternate Multiplex Interrupt Specification library
#
# Public Domain 1992 Ralf Brown
# Version 0.80
# Last Edit: 4/19/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