🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2807

Re: Trouble making ZIP (gnumk362, dmake)

#2807
From: Greg A. Harris
Date: Sun, 13 Dec 1992 13:44
51 lines
1920 bytes
In article <burleigh.724232445@ogre> burleigh@ogre.cica.indiana.edu (Frank Burleigh) writes:
>I'm having trouble building the recent ZIPs with gnu make
>(ftp-os2:/pub/os2/2.0/programming/gnumk362.zip) and dmake 3.8.  Perhaps
>someone could help me?
>[...]
>I tried dmake (ftp-os2:/pub/os2/all/programming/dmake38x.zoo) as well,
>but that seems to want a dmake.ini, a sample of which is not included
>in dmake38x.zoo.  I used -r to suppress the search for dmake.ini, but
>that didn't work either, as in:
>
>D:\temp dmake -r -f makefile.os2 gcc
>f makefile.os2 zips \
>        CC="gcc -O" \

This indicates that the macro MAKE is not defined. If I recall correctly, 
emx-0.8e has a dmake.ini in emx/etc/.  It appears that you should add
the line
 MAKE         = $(MAKECMD) $(MFLAGS)

Here's the dmake.ini that I've been using:
# dmake.ini

__.SILENT := $(.SILENT)
.SILENT   := yes

SHELL       := cmd.exe
SHELLFLAGS  := /c
GROUPSHELL      := $(SHELL)
GROUPFLAGS  := $(SHELLFLAGS)
SHELLMETAS  := *"?<>|&
GROUPSUFFIX := .cmd
DIRSEPSTR   := \\
DIVFILE      = $(TMPFILE:s,/,\)

# .USESHELL :

CC          := gcc
AS          := as
LD          := gcc
AR          := ar
RANLIB      := ar s
RM          := rm

MAKE         = $(MAKECMD) $(MFLAGS)

.c.o :; $(CC) -o $@ $(CFLAGS) -c $<

.SILENT := $(__.SILENT)


--Darrel Hankerson hank@ducvax.auburn.edu
Technical Details
Message-ID: <harriga.921213074410@lab1.duc.auburn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!darwin.sura.net!news.duc.auburn.edu!harriga
References: <burleigh.724232445@ogre>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!darwin.sura.net!news.duc.auburn.edu!harriga
From: harriga@duc.auburn.edu (Greg A. Harris)
Subject: Re: Trouble making ZIP (gnumk362, dmake)
Message-ID: <harriga.921213074410@lab1.duc.auburn.edu>
Keywords: gnu make dmake zip
Sender: usenet@news.duc.auburn.edu (News Account)
Nntp-Posting-Host: lab1.duc.auburn.edu
Organization: Auburn University, Alabama
References: <burleigh.724232445@ogre>
Date: Sun, 13 Dec 1992 13:44:10 GMT
Lines: 52