For questions related to bmake, an open-source implementation of make, which is used on platforms like FreeBSD and NetBSD.
Questions tagged [bmake]
6 questions
4
votes
1 answer
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/share/mk/sys.mk
I've checked, and the path I listed…
jmite
- 281
- 2
- 7
2
votes
2 answers
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 in the FreeBSD make manual page.
Mateusz Piotrowski
- 4,623
- 5
- 36
- 70
2
votes
2 answers
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
clean:
make -C /lib/modules/$(shell uname…
user3250889
- 23
- 2
2
votes
1 answer
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 message:
make don't know how to make CXXFLAGS.…
Imran Ali
- 123
- 7
1
vote
1 answer
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:
@echo $@
Here's the expected output:
$ touch 1…
Mateusz Piotrowski
- 4,623
- 5
- 36
- 70
1
vote
1 answer
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 example, I need to get full path to Python…
Sergius
- 813
- 1
- 10
- 21