Skip to content

Unable to build without Makefile modification on Linux #3

@EmperorArthur

Description

@EmperorArthur

Unfortunately, the Makefile includes BSD only dependencies which do not work in Linux environments.
One example is:

.include <bsd.subdir.mk>

On Linux make spits out an error of:

Makefile:3: *** missing separator. Stop.

I'll probably fix this tomorrow, but the big question is what's the best way to go about it? I don't know what's in the BSD included files. The two options that immediately spring to mind are just write simple 'all' and 'install' targets or to add either Cmake or Meson as a build system.

Personally I think Meson looks like the easy approach, since the resulting file would probably be under 10 lines, and that's counting the installation. However, it adds an additional build dependency, and requires an additional command to generate the Makefile. That's not a problem for my use case since Alpine Linux has a Meson in it's package manager, but may be an issue for BSD builds.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions