home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / ROADS15.ARJ / MAKEFILE.MAK < prev    next >
Text File  |  1994-04-05  |  1KB  |  43 lines

  1. # Makefile
  2. .autodepend
  3.  
  4. ############################################## Main file name
  5. NAME = roads
  6. ############################################## Object files
  7. OBJ1 = anim.obj bookends.obj initroad.obj fx.obj
  8. OBJ= $(OBJ1) roads.obj initw.obj tileio.obj
  9. ############################################## Memory Model (ex: s for small)
  10. MODEL = s
  11. ############################################## Supplementary dependencies
  12. SUP =
  13. ############################################## Path to headers
  14. INCPATH = c:\borlandc\include
  15. ############################################## Path to libraries
  16. LIBPATH = c:\borlandc\lib
  17. ############################################## Libraries to search
  18. LIBS = c$(MODEL) fg$(MODEL)
  19. ############################# emu math$(MODEL)
  20. ############################################## Compilation Flags
  21. COMPFLAGS = -Z -G -O2 -c -H -m$(MODEL) -I$(INCPATH)
  22. ############################################## Linking Flags
  23. LINKFLAGS = -x -L$(LIBPATH)
  24.  
  25.  
  26. #######
  27. # Implicit Definitions -- compilation
  28. #######
  29. .c.obj:
  30.         BCC $(COMPFLAGS) {$< }
  31.  
  32.  
  33. #######
  34. # Explicit Definitions -- linking
  35. #######
  36. $(NAME).exe: $(OBJ) $(SUP)
  37.         TLINK $(LINKFLAGS) @&&!
  38. c0$(MODEL) $(OBJ)
  39. $(NAME)
  40.  
  41. $(LIBS)
  42. !
  43.