home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / slfinsta.zip / makefile.vac < prev    next >
Makefile  |  2000-03-26  |  2KB  |  61 lines

  1. # Installer Makefile
  2.  
  3. .SUFFIXES: \
  4.     .c .obj
  5.  
  6. #CFLAGS = /Ss /Gm+ /I.\include /Ti /C
  7. CFLAGS = /Ss /Gm+ /I.\include /G5 /Gd- /O+ /Ol+ /C
  8. #LDFLAGS = /de /optfunc
  9. LDFLAGS = /optfunc
  10.  
  11.  
  12. OBJECTS = globals.obj install.obj uac_comm.obj uac_crc.obj instsup.obj \
  13.           uac_crt.obj uac_dcpr.obj uac_sys.obj unace.obj dw.obj rexx.obj \
  14.           picture.obj
  15.  
  16. SOURCES = globals.c install.c uac_comm.c uac_crc.c instsup.c \
  17.           uac_crt.c uac_dcpr.c uac_sys.c unace.c dw.c rexx.c \
  18.           picture.c
  19.  
  20. #all: sfx.exe packinst
  21. all: sfx.exe
  22.  
  23. $(OBJECTS):
  24.     icc $(CFLAGS) %s    
  25.  
  26. packinst: packinst/Makefile Makefile
  27.     @cd packinst
  28.     nmake /f makefile.vac all
  29.  
  30. sfx.exe:  $(OBJECTS)
  31.     rc -r install.rc
  32.     icc @<<
  33.      /B" $(LDFLAGS)"
  34.      /Fesfx.exe
  35.      rexx.lib
  36.      $(OBJECTS)
  37.      install.def
  38. <<
  39.     rc -x2 install.res sfx.exe
  40. #    lxlite sfx.exe
  41.  
  42. clean: 
  43.     rm $(OBJECTS) install.exe install.res sfx.exe
  44.  
  45. globals.obj: globals.c include/globals.h include/acestruc.h include/unace.h
  46. install.obj: install.c install.h instsup.h
  47. instsup.obj: instsup.c
  48. rexx.obj: rexx.c
  49. uac_comm.obj: uac_comm.c include/globals.h include/uac_dcpr.h include/uac_comm.h
  50. uac_crc.obj: uac_crc.c include/uac_crc.h
  51. uac_crt.obj: uac_crt.c include/os.h include/attribs.h include/globals.h include/uac_crt.h include/uac_sys.h
  52. uac_dcpr.obj: uac_dcpr.c include/os.h include/globals.h include/portable.h include/uac_comm.h include/uac_crc.h \
  53.           include/uac_dcpr.h include/uac_sys.h
  54. uac_sys.obj: uac_sys.c include/os.h include/globals.h include/uac_sys.h
  55. unace.obj: unace.c include/os.h include/globals.h include/portable.h include/uac_comm.h include/uac_crc.h include/uac_crt.h \
  56.            include/uac_dcpr.h include/uac_sys.h
  57. dw.obj: dw.c
  58. picture.obj: picture.c picture.h
  59. install.res: install.rc install.h
  60.  
  61.