Questions tagged [makefile]
The makefile tag has no usage guidance.
85
questions
0
votes
1
answer
71
views
autotools dosnt create Makefile.im or Makefile on new computer
So i have a problem compiling my software project on my new computer. Unfortunately my old computer is broken and i have to use the new one.
My Problem is, that i cant build my software project the ...
1
vote
1
answer
3k
views
cocotb-config: command not found
Im running into an issue with cocotb make files cant be found??
$ git clone https://github.com/potentialventures/cocotb
Cloning into 'cocotb'...
$ cd cocotb/examples/endian_swapper/tests
$ make ...
5
votes
1
answer
9k
views
Install R 3.5.2 under Ubuntu: "jni.h: No such file or directory"
I have a problem with installing the newest version of R, an error "fatal error: jni.h: No such file or directory" that I don't understand appeared.
Here is what I did before getting an error in the ...
0
votes
1
answer
79
views
Has anyone managed to build the STAF framework on raspberry pi with os raspbian v9?
STAF (Software Testing Automation Framework) is a open source framework for testing automation http://staf.sourceforge.net/index.php.
It is supported for several platform but not yet for raspberry, ...
0
votes
1
answer
63
views
Trying to compile Asylia via its makefile, with MinGW... Wrong compiler? How to fix?
I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler?
It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are ...
-4
votes
1
answer
382
views
What does 'xxx' mean in Makefile? [closed]
I'm trying to looking for the meaning of 'xxxxxx' in Makefile as the below example.
## Variables and scripts
NCROOT = `ncroot`
TEST_NAME = apb_uart_rx_tx
what is the ncroot? Is ...
0
votes
1
answer
38
views
Is this make behavior expected?
My folder structure looks like this:
.
├── app.c
├── inc
│ ├── butil.h
│ └── libs
│ ├── flagutil.h
│ ├── libflagutil.c
│ └── libflagutil.o
└── Makefile
My Makefile looks like ...
0
votes
1
answer
671
views
Failed to compile with make command
I'm working on cygwin. Most Unix commands work just fine. Also I can compile with g++ and gcc, but I get the error below when I execute make:
/cygdrive/b/tpm/src
$ make -f makefile.mak
"c:/program ...
1
vote
1
answer
1k
views
configure command doesn't generate Makefile?
Here is my code:
ubuntu@ubuntu:~/tpm2-tss$ ./configure --enable-unit
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file ...
1
vote
2
answers
277
views
Linux From Scratch [closed]
I am currently doing Linux From Scratch.I downloaded some packages.I unzip them using the "tar" command and do the following inside that extracted package:
configure
make
make test
make install
One ...
2
votes
1
answer
730
views
Use variable inside of command in Makefile
Let's say the LINK variable contains the following: 1a2b3c. I'd like to display Full path: /home/build/1a2b3c.
PWD is currently at /home;
I can't get the following to work:
@echo "Full path: $(...
3
votes
0
answers
3k
views
How to port $(shell find . -name '*.cpp') on windows?
I have this in makefile:
# find cpp files in subdirectories
SOURCES := $(shell find . -name '*.cpp')
So I wanted to make generic FIND command that behaves correctly on windows and linux:
ifeq ($(OS)...
0
votes
1
answer
400
views
Unable to use make when building fbida (fbi) from source
I am trying to install fbida (Fbi), framebuffer image viewer, on Ubuntu 16.04. I am trying to build from source fbida v2.13 (www.kraxel.org/releases/fbida/) since when I do install using sudo apt-get ...
1
vote
2
answers
187
views
Why Make keeps creating directory over and over?
i have a makefile that creates some docs from my source:
/home/share/htdocs:
#installs apache and make sure we have /htdocs...
/home/share/htdocs/doxjs: /home/share/htdocs
mkdir -p $@
chgrp ...
4
votes
2
answers
6k
views
Send env to a makefile target
I am trying to set an env var which is git sha1 commit for a makefile target. I am setting a lot of env vars and only this fails with no such file or directory error. I am hell confused. Please help ...