Hi I try to run this makefile.
Isend here in order to not spam the bug reports (in case I misuse pomake)
Jom 1.1.4 Windows 11 x64
and
Nmake ("c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\nmake.exe")
work fine.
Pomake runs the first two dependency lines and crashes with Access Violation.
Missing CR/LF from last line.
Since version 11 something is wrong with it.
pomake v.10 works with a your example.
EDIT:
Pelles Make Utility, Version 13.00.0
Copyright (c) Pelle Orinius 1995-2025
>pomake -f example1.mak
type file1.c
// I am file1
type file2.c
// I am file2
Quote from: TimoVJL on November 11, 2025, 11:43:12 PMMissing CR from last line.
Since version 11 something is wrong with it.
pomake v.10 works with a your example.
My problem is with PellesC 13.00
QuotePelles Make Utility, Version 2.80.0
Copyright (c) Pelle Orinius 1995-2004
Hi italofutura,
Are you sure you are using version 13? It seems you are using a very old version.
Even look at copyright you provided 2004 - new version copyright 13.0.0 is 2025 -
Perhaps version 13 was not fully installed for some reason.
Below are screen shots of pomake.exe details in Pelles C v13.
John Z
ALSO notice that the example provided by TimoVJL shows pomake version 13.0.0
I believe the '10' he mentions is the WINDOWS version -
results on Windows 11 - testing pomake v10-v13
Windows 11
-------
# Sample makefile
all: file2.obj file1.obj
file2.obj: file2.c
type $*.c
file1.obj: file1.c
type $*.c
-------
PATH=C:\Program Files\PellesC_V10\Bin
c:\POMAKE>pomake -f example2.mak
type file2.c
// file 2
int k;
type file1.c
// file1
int k;
-------
PATH=C:\Program Files\PellesC_V11\Bin
c:\POMAKE>pomake -f example2.mak
POMAKE: example2.mak(9): warning: The system cannot read from the specified device.
type file2.c
// file 2
int k;
type file1.c
// file1
int k;
-------
PATH=C:\Program Files\PellesC_V12\Bin
c:\POMAKE>pomake -f example2.mak
POMAKE: example2.mak(9): warning: The system cannot read from the specified device.
type file2.c
// file 2
int k;
type file1.c
// file1
int k;
-------
PATH=C:\Program Files\PellesC_V13\Bin
c:\POMAKE>pomake -f example2.mak
POMAKE: example2.mak(9): warning: The system cannot read from the specified device.
type file2.c
// file 2
int k;
type file1.c
// file1
int k;
-------
POMAKE: example2.mak(9): warning: The system cannot read from the specified device.You also forgot CR/LF from last line.
You are right, HLA was in the path.
Given the opportunity, do you know how the "fileparts", the microsoft way %|p,d,e,fF is supposed to work?
The PellesC extension e.g. $(@D) works flawlessly.
From help file
QuoteSyntax Description
%s The complete filename.
%|{parts}F The {parts} specification can be zero or more of the following letters:
d Drive
p Path
f Base name
e Extension
%% A literal %.
For example, the the full filename is specified by %|F or by %|dpfeF, as well as by %s.
Quote from: TimoVJL on November 12, 2025, 03:15:54 PMPOMAKE: example2.mak(9): warning: The system cannot read from the specified device.You also forgot CR/LF from last line.
Actually not forgotten, there are two in there. Attached files -
-----------------
italofutura - I don't understand your question - sorry
John Z