Questions tagged [makefile]
The makefile tag has no usage guidance.
28
questions with no upvoted or accepted answers
4
votes
0
answers
448
views
How do I write a Makefile target for hundreds of numbered files?
I have some art projects that use blender as part of the toolchain. I would like to be able to write a Makefile target which specifies that several hundred files can be updated with a single command. ...
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)...
2
votes
0
answers
1k
views
GnuMake SHELL under windows
I am trying to make a simple makefile (GNU Make 3.81) work under windows, using cygwin installed with the git-for-windows "distro".
Everything seems to work, but the SHELL. It always shows &...
2
votes
0
answers
151
views
How to add a 'greek' character in the path using cURL?
I have a Makefile where one of many tasks is to upload a file using cURL, one of these files, has a greek character in the name and when I try to upload using cURL, I receive this error:
curl: (43) A ...
2
votes
0
answers
5k
views
GCC option : Unrecognized command line
I am trying to build my project with the gcc compiler, but I get this error:
gcc: error: unrecognized command line option '-mthumb'
Isn't -mthumb a default option for gcc?
output of gcc --version:...
2
votes
0
answers
307
views
Create Makefile to automatically link all files in directory
I would like to set up a Makefile to assemble and link my assembly programs automatically.
Right now I have different sources of assembler programs in single files like prog1.asm, prog2.asm, hello....
1
vote
0
answers
84
views
DMX4LINUX drivers wont build properly
I am currently troubleshooting a situation in which I am trying to build drivers for ENTECC'S Open DMX to usb converter. I am currently building this on a Raspberry Pi 3, using the pre release ...
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 ...
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 ...
0
votes
0
answers
74
views
Makefile: Why command sequece is executed before call it?
Below makefile, ${PATH}/CMD0.log is generated by CMD0.
check_file is command sequence to check warnings from CMD0.log. First it will check if CMD0.log exists.
When run make clean; make, it shows CMD0....
0
votes
1
answer
967
views
Capture output of powershell command in makefile on windows
I'm trying to create a Makefile that will work on both windows and unix-based operating systems. (For reference, the windows version of make it should work with can be found here). As part of the ...
0
votes
0
answers
521
views
Kali Linux won't install Wise Tiger Wireless Adapter Driver
I have currently dual booted Kali Linux and I have a Wise Tiger WT-AC9006 wireless adapter. I have downloaded the driver from the company site and attempted to install it via the command line:
./...
0
votes
0
answers
214
views
How to fix cmake error on payday 2 super blt source in debian buster
I have debian 10 running on a virtual machine inside windows 10.
I have installed build-essential, openssl, libssl-dev, libcurl4-openssl-dev, and cmake.
I am trying to have cmake generate a makefile ...
0
votes
1
answer
2k
views
Can one make symlinks in Makefiles that work on Linux and Windows?
I have a project comprised of tasks. Each task has three subdirectories: input, code, and output. In the code directory resides a Makefile with the recipes needed to make the output from the code and ...
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 ...