home *** CD-ROM | disk | FTP | other *** search
- #
- # Makefile for Input Device ToolKit Test Routines.
- #
-
- #
- # Definitions
- #
-
- CC = lc
- INCLUDES = -i:my_include/
- CFLAGS = -DSAS $(INCLUDES)
-
- LINK = blink
-
- #
- # Mains
- #
-
- MAINS = test1.sx test2.sx test3.sx test4.sx test5.sx test6.sx test7.sx
-
- #
- # Objects
- #
-
- OBJS = test1.o test2.o test3.o test4.o test5.o test6.o test7.o
-
- #
- # Rules
- #
-
- .c.o :
- $(CC) $(CFLAGS) $>.c
-
- .o.sx :
- $(LINK) <WITH <
- FROM LIB:c.o+$>.o
- TO $>.sx
- LIB :SAS/my_lib/Input.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
-
- cleanup : CLEANUP
- CLEANUP :
- delete \#?.o
- delete \#?.lnk
- delete \#?.map
- delete \#?.sx
- delete \#?.info
-
-