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

  1. # $Id: makefile,v 1.1 2000/03/27 04:53:09 ktk Exp $ 
  2.  
  3. # Installer Makefile
  4.  
  5. CC = gcc
  6. RM = rm
  7. RC = rc
  8. MAKE = make
  9. COMPRESS = lxlite
  10.  
  11. DEFS =
  12. LIBS =
  13.  
  14. CFLAGS = -O2 -Zomf -Zsys -Zmt -D__ST_MT_ERRNO__ -I../include -Wall
  15. LDFLAGS = -lrexx
  16. RCFLAGS = -r
  17.  
  18.  
  19. OBJECTS = globals.obj packinst.obj uac_comm.obj uac_crc.obj \
  20.           uac_crt.obj uac_dcpr.obj uac_sys.obj unace.obj
  21.  
  22. SOURCES = globals.c packinst.c uac_comm.c uac_crc.c \
  23.           uac_crt.c uac_dcpr.c uac_sys.c unace.c
  24.  
  25. all: packinst.exe
  26.  
  27. $(OBJECTS):
  28.     $(CC) $(CFLAGS) -c $<    
  29.  
  30. Include: ../include/Makefile Makefile
  31. #    cd include
  32. #    $(MAKE) -f Makefile all
  33.  
  34. packinst.exe:  $(OBJECTS)
  35.     $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o packinst.exe $(OBJECTS)
  36.     $(COMPRESS) packinst.exe
  37.  
  38. clean: 
  39.     $(RM) $(OBJECTS) install.exe install.res sfx.exe
  40.  
  41. globals.obj: globals.c ../include/globals.h ../include/acestruc.h ../include/unace.h
  42. packinst.obj: packinst.c
  43. uac_comm.obj: uac_comm.c ../include/globals.h ../include/uac_dcpr.h ../include/uac_comm.h
  44. uac_crc.obj: uac_crc.c ../include/uac_crc.h
  45. uac_crt.obj: uac_crt.c ../include/os.h ../include/attribs.h ../include/globals.h ../include/uac_crt.h ../include/uac_sys.h
  46. uac_dcpr.obj: uac_dcpr.c ../include/os.h ../include/globals.h ../include/portable.h ../include/uac_comm.h ../include/uac_crc.h \
  47.           ../include/uac_dcpr.h ../include/uac_sys.h
  48. uac_sys.obj: uac_sys.c ../include/os.h ../include/globals.h ../include/uac_sys.h
  49. 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 \
  50.            ../include/uac_dcpr.h ../include/uac_sys.h
  51.  
  52.