home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 6976 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.8 KB  |  66 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!cs.utexas.edu!wupost!darwin.sura.net!news.duc.auburn.edu!harriga
  3. From: harriga@duc.auburn.edu (Greg A. Harris)
  4. Subject: Re: Trouble making ZIP (gnumk362, dmake)
  5. Message-ID: <harriga.921213074410@lab1.duc.auburn.edu>
  6. Keywords: gnu make dmake zip
  7. Sender: usenet@news.duc.auburn.edu (News Account)
  8. Nntp-Posting-Host: lab1.duc.auburn.edu
  9. Organization: Auburn University, Alabama
  10. References: <burleigh.724232445@ogre>
  11. Date: Sun, 13 Dec 1992 13:44:10 GMT
  12. Lines: 52
  13.  
  14. In article <burleigh.724232445@ogre> burleigh@ogre.cica.indiana.edu (Frank Burleigh) writes:
  15. >I'm having trouble building the recent ZIPs with gnu make
  16. >(ftp-os2:/pub/os2/2.0/programming/gnumk362.zip) and dmake 3.8.  Perhaps
  17. >someone could help me?
  18. >[...]
  19. >I tried dmake (ftp-os2:/pub/os2/all/programming/dmake38x.zoo) as well,
  20. >but that seems to want a dmake.ini, a sample of which is not included
  21. >in dmake38x.zoo.  I used -r to suppress the search for dmake.ini, but
  22. >that didn't work either, as in:
  23. >
  24. >D:\temp dmake -r -f makefile.os2 gcc
  25. >f makefile.os2 zips \
  26. >        CC="gcc -O" \
  27.  
  28. This indicates that the macro MAKE is not defined. If I recall correctly, 
  29. emx-0.8e has a dmake.ini in emx/etc/.  It appears that you should add
  30. the line
  31.  MAKE         = $(MAKECMD) $(MFLAGS)
  32.  
  33. Here's the dmake.ini that I've been using:
  34. # dmake.ini
  35.  
  36. __.SILENT := $(.SILENT)
  37. .SILENT   := yes
  38.  
  39. SHELL       := cmd.exe
  40. SHELLFLAGS  := /c
  41. GROUPSHELL      := $(SHELL)
  42. GROUPFLAGS  := $(SHELLFLAGS)
  43. SHELLMETAS  := *"?<>|&
  44. GROUPSUFFIX := .cmd
  45. DIRSEPSTR   := \\
  46. DIVFILE      = $(TMPFILE:s,/,\)
  47.  
  48. # .USESHELL :
  49.  
  50. CC          := gcc
  51. AS          := as
  52. LD          := gcc
  53. AR          := ar
  54. RANLIB      := ar s
  55. RM          := rm
  56.  
  57. MAKE         = $(MAKECMD) $(MFLAGS)
  58.  
  59. .c.o :; $(CC) -o $@ $(CFLAGS) -c $<
  60.  
  61. .SILENT := $(__.SILENT)
  62.  
  63.  
  64. --Darrel Hankerson hank@ducvax.auburn.edu
  65.  
  66.