Skip to main content

Questions tagged [makefile]

The tag has no usage guidance.

2 votes
1 answer
3k views

Can't use Makefile on a mac. Whether tab or 4 spaces the error is: " *** missing separator. Stop."

I am using an M1 powered mac. I am trying to use makefile in a project and to my surprise, no matter what I do it ends being a missing separator error. my Makefile below won't run no matter what. I ...
black sensei's user avatar
-1 votes
1 answer
246 views

Why don’t make check the timestamp when the dependency file is not generated?

I create an ugly Makefile, it worked beyond my expectations. When main.o is not built successfully, the executable is built every time I make. In my opinion, after the main.o target command is ...
chen zhang's user avatar
-1 votes
1 answer
15k views

What exactly cmake say: /usr/bin/ld: cannot find -ledit or /usr/bin/ld: cannot find -lcurses?

I am using ubuntu 20.04. I am doing debugging of building with cmake. What exactly cmake say: /usr/bin/ld: cannot find -ledit, i.e.what is ledit? What is /usr/bin/ld: cannot find -lcurses exactly? I ...
Dmitriy Ogureckiy's user avatar
2 votes
1 answer
6k views

Makefile with source command not working

I have the following Makefile env: source venv/bin/activate When I do make env to activate a python virtual env, I'm getting the following error source venv/bin/activate make: source: No such ...
user1187968's user avatar
0 votes
1 answer
2k views

Variables not being set in Makefile

I have to set the profile variable in Makefile, if it's not set by default, here is my approach. But when I run this, echo statements work fine, but variables are not being set. set_vars: if [ &...
DilLip_Chowdary's user avatar
5 votes
1 answer
6k views

cd in a Makefile doesn't seems to be taken into account after sshfs

I have a Makefile with a sshfs command followed with a cd command: mr: # mount-remote sshfs -p 5022 -o nonempty [email protected]:mnt /home/julien/myworking_path cd ./...
JKHA's user avatar
  • 191
0 votes
0 answers
72 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....
Fisher's user avatar
  • 697
1 vote
1 answer
3k views

A try to write a batch script to find all the .c files in the current directory and compile them

I was trying to write a make analog in windows, using batch files But I am a noob in batch scripting, here is my try - I am trying to make a batch script which fill find all the .c files in the ...
armangrewal007's user avatar
1 vote
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 &...
gcb's user avatar
  • 5,011
0 votes
1 answer
957 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 ...
qwertycomputer's user avatar
0 votes
0 answers
519 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: ./...
bballboy8's user avatar
  • 101
1 vote
2 answers
9k views

RPC header not found despite being installed

I'm trying to install MB-system on my Arch Linux machine. I installed all necessary dependencies and have the package libtirpc installed. When running the configure script, it ends with: checking rpc/...
Turtle10000's user avatar
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 ...
hackall360's user avatar
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 ...
Levi Crews's user avatar
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 ...
gooseinmyway's user avatar

15 30 50 per page
1
2 3 4 5 6