Talking shop: makefile question 

Is there a reasonably portable way (preferably POSIX, or at least NetBSD and GNU make) to make a file always re-generate regardless of access time? Something like NetBSD make's "!" rules except that works with GNU Make. PHONY feels wrong semantically since it actually is a file, but also it does exactly what I want so maybe I should give up and use that.


Talking shop: makefile question 

I vaguely remember an empty "FORCE" target being used for this (which is a dependency of the thing you want to always update). Feels jank, but maybe I should just go with that.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!