home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
499.lha
/
GamePortDeviceToolKit
/
gameport.lzh
/
src
/
DeviceToolKits
/
GamePort
/
test
/
LMKFile
next >
Wrap
Text File
|
1991-01-03
|
2KB
|
94 lines
#
# Makefile for GamePort Device ToolKit Test Routines.
#
#
# Definitions
#
CC = lc
INCLUDES = -i:my_include/
CFLAGS = -DSAS $(INCLUDES)
LINK = blink
#
# Mains
#
MAINS1 = test1.sx test2.sx test3.sx test4.sx test5.sx test6.sx test7.sx
MAINS2 = test8.sx test9.sx test10.sx
MAINS = $(MAINS1) $(MAINS2)
#
# Objects
#
OBJS1 = test1.o test2.o test3.o test4.o test5.o test6.o test7.o
OBJS2 = test8.o test9.o test10.o
OBJS = $(OBJS1) $(OBJS2)
#
# Rules
#
.c.o :
$(CC) $(CFLAGS) $>.c
.o.sx :
$(LINK) <WITH <
FROM LIB:c.o+$>.o
TO $>.sx
LIB :SAS/my_lib/GamePort.lib
LIB:lc.lib LIB:amiga.lib
ADDSYM
MAP $>.map
<
#
# Dependancies
#
Maker : $(MAINS) $(OBJS)
test1.sx : test1.o
test1.o : test1.c
test2.sx : test2.o
test2.o : test2.c
test3.sx : test3.o
test3.o : test3.c
test4.sx : test4.o
test4.o : test4.c
test5.sx : test5.o
test5.o : test5.c
test6.sx : test6.o
test6.o : test6.c
test7.sx : test7.o
test7.o : test7.c
test8.sx : test8.o
test8.o : test8.c
test9.sx : test9.o
test9.o : test9.c
test10.sx : test10.o
test10.o : test10.c
cleanup : CLEANUP
CLEANUP :
delete \#?.o
delete \#?.lnk
delete \#?.map
delete \#?.sx
delete \#?.info