Download Pelles C here: http://www.smorgasbordet.com/pellesc/
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
QuoteNtQuerySystemInformation may be altered or unavailable in future versions of Windows.
Quote from: Vortex on November 09, 2025, 08:22:44 PMAnother method to get the boot time is to use the GetTickCount64 API function.Works only since Vista.
NtQuerySystemInformation(SystemTimeOfDayInformation, &stodi, sizeof(stodi), 0);
// (*(LONGLONG*)&stodi.BootTime) -= (*(LONGLONG*)&stodi.TimeZoneBias);
stodi.BootTime.QuadPart -= stodi.TimeZoneBias.QuadPart;
(*(LONGLONG*)&ft) = (*(LONGLONG*)&stodi.BootTime);
FileTimeToSystemTime(&ft, &st);
Page created in 0.043 seconds with 15 queries.