Download Pelles C here: http://www.smorgasbordet.com/pellesc/
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.
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.
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;
-------
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.
QuotePelles Make Utility, Version 2.80.0
Copyright (c) Pelle Orinius 1995-2004
Page created in 0.069 seconds with 15 queries.