home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-04-26 | 1.2 KB | 55 lines |
- # Makefile for mkdrawf,decdrawf distribution
-
- # Things you might need to change:
- ASM = as # your assembler
- CC = cc # your C compiler
- INSTDIR = $.bin2# where you want the executables to go
-
- # Customise mkdrawf by defining symbols:
- # DEFS = -DTAGS
-
- #---------------------------------------------------------------------------
-
- all: mkdrawf decdrawf
-
- squeeze:
- squeeze -v mkdrawf
- squeeze -v decdrawf
-
- install:
- copy mkdrawf $(INSTDIR).mkdrawf f~c
- copy decdrawf $(INSTDIR).decdrawf f~c
-
- # CAUTION! If you have no assembler, change the first line of the following
- clean:
- wipe o.* ~c
- remove mkdrawf # you may want to lose these two lines
- remove decdrawf
-
- #---------------------------------------------------------------------------
-
- # The programs themselves
-
- mkdrawf: o.mkdrawf o.syscalls
- $(CC) o.mkdrawf o.syscalls
- decdrawf: o.decdrawf o.lowfile
- $(CC) o.decdrawf o.lowfile
-
-
- # Object files for the programs themselves
-
- o.mkdrawf: c.mkdrawf
- | (Expect 11 warnings about c.mkdrawf.)
- $(CC) -c $(DEFS) mkdrawf
- o.decdrawf: c.decdrawf
- | (Expect 2 warnings about c.decdrawf.)
- $(CC) -c $(DEFS) decdrawf
-
-
- # Object files for useful low-level functions
-
- o.syscalls: s.syscalls
- $(ASM) s.syscalls
- o.lowfile: s.lowfile
- $(ASM) s.lowfile
-