home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / e2fltsrc.zip / MAKEFILE < prev    next >
Text File  |  1995-07-23  |  1KB  |  59 lines

  1. .AUTODEPEND
  2.  
  3. # Define targets to build
  4. all:    ext2flt.flt
  5.  
  6. debug:    ext2flt.flt
  7.  
  8. # Compiler and Assembler options
  9. CC_OPT= -3 -O2 -v -d -ms! -wpro -weas -wpre 
  10. AS_OPT= /MX /ZI /O
  11. LN_OPT= /code /line /map
  12.  
  13. # Include path for files
  14. INC= include
  15.  
  16. # Names of complier, assembler and linker.
  17. CC = bcc -c $(CC_OPT) -I$(INC)
  18. AS = tasm $(AS_OPT) /i$(INC)
  19. LINK = link
  20.  
  21. # Implicit rules
  22. .c.obj:
  23.   $(CC) {$< }
  24.  
  25. .asm.obj:
  26.   $(AS) $&.asm
  27.  
  28. # Define object files used to build executable from:
  29. OBJ_1= e2header.obj e2wrap.obj e2data.obj
  30. OBJ_2= e2router.obj e2filt.obj e2part.obj
  31. OBJ_3= e2iocmd.obj e2virtio.obj e2init.obj 
  32. OBJ_4= e2inutil.obj
  33.  
  34. OBJS= $(OBJ_1) $(OBJ_2) $(OBJ_3) $(OBJ_4)
  35.  
  36. # Make sure that the new debug flag is active...
  37. debug.h: MAKEFILE
  38.  
  39. # List macros
  40. EXE_depend = $(OBJS)
  41.  
  42. # Explicit rules
  43. ext2flt.flt: $(EXE_depend) ext2flt.def MAKEFILE
  44.   $(LINK) $(LN_OPT) @&&|
  45. $(OBJ_1) +
  46. $(OBJ_2) +
  47. $(OBJ_3) +
  48. $(OBJ_4)
  49. ext2flt.flt
  50. ext2flt.map
  51.  
  52. ext2flt.def
  53.   mapsym ext2flt.map 
  54.   tdstrip ext2flt.flt
  55.   copy ext2flt.flt d:\ext2flt.flt 
  56.   copy ext2flt.sym d:\ext2flt.sym 
  57.  
  58.