home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-06-06 | 1.0 KB | 51 lines |
- # Makefile to rebuild my Assembler Library
-
- TARGETS = mylib.rel
-
- MOBJS=open.rel close.rel sectorio.rel setupfcb.rel fileprnt.rel printf.rel \
- scanf.rel params.rel biosio.rel bdosio.rel prmes.rel version.rel exmem.rel \
- cpmem.rel bioscall.rel multa.rel adda.rel div16.rel maxmem.rel
-
-
- XOBJS=chario.rel clib.rel diskio2.rel longs.rel stdio.rel print.rel \
- screen.rel strings.rel windows.rel
-
- COBJS=format.rel tinyfmt.rel fopen.rel
-
- OBJS=adda.rel bdosio.rel bioscall.rel biosio.rel \
- close.rel cpmem.rel div16.rel \
- exmem.rel fileprnt.rel files.rel maxmem.rel \
- multa.rel open.rel params.rel printf.rel prmes.rel \
- scanf.rel sectorio.rel setupfcb.rel version.rel
-
-
- ASM=cpm m80
- LNK=cpm l80
- CC =cpm cii
- CFLAGS = -m -z4000 -e100
-
- %.rel: %.mmc
- cpm libutl $<
- cpm xccp libtmp
- rm libtmp.sub
-
- %.rel: %.mac
- $(ASM) =$<
-
- %.com: %.rel
- $(LNK) $<,$</n/e
-
- %.asm: %.c
- $(CC) $(CFLAGS) $<
-
- %.rel: %.asm
- $(ASM) =$<
-
- all: $(TARGETS)
-
- clean:
- rm -f *~ *.rel $(TARGETS) *.asm
-
- mylib.rel: $(MOBJS) # $(XOBJS) $(COBJS)
- cpm xccp makelib
-