home *** CD-ROM | disk | FTP | other *** search
Makefile | 1997-06-03 | 1.3 KB | 68 lines |
- # Makefile for makealf distribution
-
- # Things you might need to change:
- ASM = as # your assembler
- CC = cc # your C compiler
- INSTDIR = $.bin.gjm# where you want the executables
-
- all: makealf alfdir alfsymt chunklist chunkread
-
- squeeze:
- squeeze makealf
-
- install:
- copy makealf $(INSTDIR).makealf f~c
- copy alfdir $(INSTDIR).alfdir f~c
- copy alfsymt $(INSTDIR).alfsymt f~c
- copy chunklist $(INSTDIR).chunklist f~c
- copy chunkread $(INSTDIR).chunkread f~c
-
- # CAUTION! If you have no assembler, change the first line of the following
- clean:
- wipe o.* ~c
- remove makealf # you may want to lose these 5 lines
- remove alfdir
- remove alfsymt
- remove chunklist
- remove chunkread
-
- #---------------------------------------------------------------------------
-
- # The programs themselves
-
- makealf: o.makealf o.finfo o.lowfile o.gbpb9 o.write0
- $(CC) -o makeALF o.makealf o.finfo o.lowfile o.gbpb9 o.write0
-
- alfdir: b.alfdir
- /b.alfdir
-
- alfsymt: b.alfsymt
- /b.alfsymt
-
- chunklist: b.chunklist
- /b.chunklist
-
- chunkread: b.chunkread
- /b.chunkread
-
-
- # Object files for the programs themselves
-
- o.makealf: c.makealf h.finfo h.lowfile
- $(CC) -c c.makealf
-
-
- # Object files for useful low-level functions
-
- o.finfo: s.finfo
- $(ASM) s.finfo
-
- o.lowfile: s.lowfile
- $(ASM) s.lowfile
-
- o.gbpb9: s.gbpb9
- $(ASM) s.gbpb9
-
- o.write0: s.write0
- $(ASM) s.write0
-