home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_03 / SOURCE_J.LZH / 3DDEMO / MAKEFILE < prev    next >
Text File  |  1995-02-16  |  2KB  |  64 lines

  1. #====================================================================
  2. # Makefile    
  3. #====================================================================
  4.  
  5. ERASE = erase
  6.  
  7. #====================================================================
  8. #       Macro & Assembler flags
  9. #====================================================================
  10.  
  11. STADDR     = 802000
  12.  
  13. MACFLAGS   = -fb -g -rd
  14. GFLAGS     = -I$(MACPATH) -c -CGPU -R1 -o
  15. ALNFLAGS   = -v -v -l -rd -e -g -a $(STADDR) x 5000
  16. JAGFLAGS   = -v
  17.  
  18. #====================================================================
  19. #       Standard Build Rules
  20. #====================================================================
  21.  
  22. .SUFFIXES: .o .s
  23.  
  24. .s.o:
  25.     mac $(MACFLAGS) $<
  26.  
  27. .SUFFIXES: .o .gas      
  28.  
  29. .gas.o:
  30.     mac $(MACFLAGS) -dGPU $<
  31.  
  32. .SUFFIXES: .o .tga
  33.  
  34. .tga.o:
  35.     tga2cry -o$*.cry $<
  36.     mac $(MACFLAGS) $*.cry
  37.     $(ERASE) $*.cry
  38.  
  39. #====================================================================
  40. #       Object code modules
  41. #====================================================================
  42.  
  43. MACOBJS   = startup.o crymain.o video.o jagcry.o joypad.o \
  44.         objlist.o gpu.o
  45.  
  46. GASMOBJS  = turtle.o sort.o txtcry.o
  47.  
  48. CRYOBJS  = back1.o back2.o back3.o bottom.o bottomfr.o engbot.o engfrnt.o \
  49.         engside.o engtop.o fin.o finside.o gunback.o \
  50.         hood.o roof.o rtfront.o rtside.o winfrnt.o wing.o wingside.o \
  51.         winrt.o \
  52.         gunside.o guntop.o
  53.  
  54. #====================================================================
  55. #       EXECUTABLES
  56. #====================================================================
  57.  
  58. 3ddemo.cof: makefile $(GASMOBJS) $(CRYOBJS) $(MACOBJS) ship1.o
  59.     aln $(ALNFLAGS) -o 3ddemo.cof -c 3ddemo.lnk
  60.  
  61. ship1.o: ship1.3ds
  62.     3ds2jag $(JAGFLAGS) -lcube ship1.3ds
  63.     mac $(MACFLAGS) $*.j3d
  64.