delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/04/12:30:41

Message-Id: <3.0.1.16.19970604172045.2a97752c@hal.nt.tuwien.ac.at>
Date: Wed, 04 Jun 1997 17:20:45
To: djgpp AT delorie DOT com
From: Anton Helm <tony AT nt DOT tuwien DOT ac DOT at>
Subject: Strange behavior of GNU-make (WinNT 4.0)
Mime-Version: 1.0

I have recently installed WinNT 4.0 on one of our PCs and 
found the following problems with GNU-make:

make version is 3.75 (from the djgpp distribution)

1) When running make on a makefile that has unconditional
commands make does nothing.
Example:

--------makefile--------------
all:
    $(MAKE) -fmake_file
    $(MAKE) -C ghi
    $(MAKE) -C lmn
    cp a.bcd  c.def
------------------------------

Make answers with:
'all' is up to date
but doesn't execute any command.
When running make in debug mode it baves as if there would be a file named 'all'
therefore it does nothing. 
(There is no such file. I also have tried different target names.)

2) I keep my *.h files in a subdirectory of the *.c directory.
Therefore I use the vpath statement for *.h files. When *.h files
depend on other *.h files I use

abc.h : def.h
    touch $@

but $@ now contains the filename only (no path) and therefore creates
a 0-byte abc.h file in the current directory (instead of updating the timestamp
of the abc.h file in the subdirectory).

I have been using these makefiles for more than a year with several versions of GNU-make
on various UNIX platforms and MS-DOS without problems.

What's happening in WinNT 4.0 ?

BTW: The programs compiled with djgpp under WinNT 4.0 are working properly.


Tony

*************************************************************************
Dipl.-Ing. Anton HELM            * mailto:tony AT nt DOT tuwien DOT ac DOT at
Institut fuer Nachrichtentechnik * http://dictator.nt.tuwien.ac.at/~tony/
und Hochfrequenztechnik          * http://www.tuwien.ac.at/nthft/
Guszhausstr. 25/389              * phoneto:+43-1-58801-3520
A-1040 Wien, AUSTRIA             * faxto:+43-1-5870583
*************************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019