Questions tagged [bmake]
For questions related to bmake, an open-source implementation of make, which is used on platforms like FreeBSD and NetBSD.
6 questions
2 votes
1 answer
480 views
How do I use a shell assignment in a makefile so that it works with both FreeBSD make (bmake) and macOS make (GNU Make 3.81)?
I'd like to use the shell assignment operator (i.e., !=) in a makefile that is going to be executed on FreeBSD, macOS, and Linux. Here's an example: a!= seq 3 .PHONY: all all: $a .PHONY: $a $a: ...
1 vote
1 answer
426 views
Is there any possibility to use the same Makefile in CentOS and FreeBSD?
Unfortunately, in some old FreeBSD environments I can't use "gmake", so I need to write a Makefile which will work with FreeBSD make also. And the last problem I can't solve - use shell commands, for ...
3 votes
3 answers
582 views
Always build specified targets with FreeBSD make (as with the GNU make -B flag)
I would like to force make on FreeBSD to execute the target I specify no matter if it's up to date or not. I know that it could be done with a -B flag in GNU make but I cannot find anything similar ...
3 votes
2 answers
418 views
Convert Debian Makefile for FreeBSD
I'm trying to follow a guide to compile a program for Debian in FreeBSD. I have the following makefile: obj-m += kernelinfo.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules ...
2 votes
1 answer
2k views
make don't know how to make CXXFLAGS. Stop
I am very new to both FreeBSD and compiling code from source and would really appreciate any help. I am trying to compile fastText from source. When I execute the make command it returns the following ...
4 votes
1 answer
1k views
bmake error on Mandrive: "bmake: no system rules (sys.mk)"
I'm trying to use bmake to build OS161 on Mandriva. When I try to run bmake, I get the following error: bmake: no system rules (sys.mk) I get the same error, even when I run bmake -m /usr/local/...