PROG = hello
SRCS = hello.c world.c
then. Zero new dependencies and still no automake hell. :)
@jookia @rumpelsepp @allison CMake is not exactly what I would use when I want portability. There's many alternative OSes on which CMake does not run at all. The regular configure + make is a better bet here: https://objfw.nil.im/doc/tip/PLATFORMS.md
So, yes, this can be compiled not only for MS-DOS, but also *on MS-DOS*. Try that with CMake ;).