I’ve created a new C++ build system: g++ *

@rifkin @jef

I used to start quickie C programs with:

----------------------------
#ifdef notdef
gcc $0 -o $(basename $0 .c)
exit $?
#endif

int main....

---------------------------

Then I could compile by saying "sh foo.c"

This was especially useful if the compile line was complicated (e.g., the C program required linking with special libraries or something).

(Actually I used back-quotes instead of $(....), but this phone doesn't have back-quote on this keyboard.)

@lain_7

"...as of C23, this technique no longer requires an extension...."