0
votes
0answers
34 views

GCC option : Unrecognized command line

I am trying to build my project with gcc compiler but I get this error: gcc: error: unrecognized command line option '-mthumb' Isn't -mthumb a default option for gcc? Why he couldn't recognize it?
0
votes
0answers
17 views

Makefile Error while using GNU compiler: Multiple Target patterns

I've been trying to compile a project using the Windows command window and the gnu compiler. I've got this error: ../../../../make/compiler_rules.mk:40: *** multiple target patterns. Stop. Here ...
0
votes
1answer
14 views

Linux - make install without replacing symlinks

I recently (and foolishly, since there is a simple solution here, had I set --prefix= option to something other than it's default /usr/bin) configured and maked gcc-4.9.1, without setting the ...
0
votes
0answers
55 views

“chown” for “make install” command?

On my Linux server, I accidentally executed sudo make install for an application install. I intended to execute make install without sudo privilege. How do I change the ownership of all installed ...
1
vote
0answers
36 views

Is there any way to see make file with all variables substituted

I have huge long makefile written by some other guy, where all coomands contain variables. In order to decode what this command is doing i have look around what that variable is and its taking too ...
0
votes
1answer
40 views

Need assistance with understanding this make file for debian linux

I have this code in make file and i could not get it CHECK=dpkg -L $1 2>&1 >$(NULL) || $(APT) install -y $1 install.dpkg.%: $(call CHECK,$*) I want to know I have read that $* means ...
0
votes
1answer
53 views

make does not show option on pressing tab on centos

In my office i have ubuntu where in my project folder i have Makefile. If i got to folder and then press make and then tab then it shows all option but at my home i am pressing table after Make and ...
0
votes
1answer
58 views

How can i get simple makefile tutorial without compilers [closed]

In my project our coder have written the makefile for installing and deploying the web application like make install.php which then contain instructions to install it. I am searching google and you ...
0
votes
1answer
16 views

Structure of make files for automatic installation

We are doing one project and our contractor is taking care of installing all things required to install in linux. he has make file for that. That file is very big and he has used verious constants ...
1
vote
2answers
122 views

Configure Makefile

I am trying to create a file Makefile to use with make so I can compile my codes faster. What I would like to do is just type in the terminal: make dev myOutputName And it should run: gcc -Wall ...
0
votes
1answer
29 views

losetup Find in Parallel / Concurrency

I'm writing a makefile that at some point builds image files. I'm using losetup -f in the file to find a free loop device when building out each image. Since the images are independent of each ...
2
votes
1answer
288 views

gnu make fails to find commands in ~/.local/bin

I have some commands places in ~/.local/bin, and correctly added it to the path: $ echo $PATH ...
0
votes
1answer
922 views

executing a shell-script through makefile

i am trying to create a .deb file that first installs the dependency that is stored in the some folder, for that i have created a shell script. My issue is executing the shell script through make file ...
0
votes
2answers
314 views

Files built with a makefile are disapearing (including the binary)

I am building a program on a TS-7800(SBC), and when I run make (show below), it appears to go through all of the steps normally, but in the end i do not get a binary file. Why is this, and how can I ...
0
votes
1answer
1k views

How to run make file from any directory?

In order to run make file, I am supposed to go to the make file's directory and from there only I can run the make file. How can I do the same even if i am in any directory?
2
votes
2answers
6k views

How to use makefiles on Windows

I have a LaTeX project using make files for compilation and want to write the texts on Windows using Kile. I had a quick look on google but only really came up with Make for Windows the last version ...
3
votes
2answers
1k views

For simple projects, what do makefiles offer over “plain” bash scripts?

For example, if I'm developing a front-end only website, I might have several CoffeeScript files, several Sass files, several HTML Files, and a few images. The CoffeeScript files need to be compiled ...