The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
83 views

Makefile error: no rule to make target

I'm trying to make a module and I keep getting an error saying "no rule to make target". Here's what I'm doing in terminal: collinux@collinux-mothership:~/Documents/hdd/wifi driver fix$ sudo make ...
1
vote
1answer
21 views

Proper syntax for escaping a `$` in a regex in a bash shell script/makefile?

I'm running a Makefile which includes the following line... find ./ -type f -regextype emacs -regex ".*tests$" | xargs rm -f and am getting an error: find ./ -type f -regextype emacs -regex ...
2
votes
0answers
13 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 ...
0
votes
0answers
74 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?
1
vote
0answers
14 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. ...
0
votes
0answers
31 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
25 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
181 views

./xsum: Permission denied make: *** [xsum.out] Error 126

I am trying to insall f2c/f77 compiler on mac osx using the instructions given http://www.webmo.net/support/fortran_osx.html and I get the following error : ./xsum: Permission denied make: *** ...
0
votes
0answers
44 views

what's the purpose of objcopy command

I'm working on OS development on the Raspberry Pi. in the makefile I found this command : kernel.img: kernel.elf $(ARMGNU)-objcopy kernel.elf -O binary kernel.img witch copy the kernel.elf ...
1
vote
1answer
96 views

Removing multiple files from directory, as specified by variable in Makefile

I have a Makefile with the following configured for installing man pages MANDIR = /usr/share/man/man1 MANPAGES = exec1.1 exec2.1 make install triggers the following: install: $(MANPAGES) ...
0
votes
0answers
62 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
37 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
44 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
73 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
67 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 ...
1
vote
1answer
394 views

Android makefiles(.mk) documentation [closed]

I want to learn about android makefiles. How to write and modify them. Could you please guide me to the official android documentation related to this? Also Other helping resources would be of great ...
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 ...
3
votes
1answer
279 views

Is it possible to compile with make.inc and Makefile

I am a newbie to the use of make files. I have added a new module in project using make.inc The structure of project is like:- /Project/build.sh /Project/make.inc /Project/Module1/Makefile ...
1
vote
2answers
133 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 ...
1
vote
2answers
2k views

How to setup vim to edit both Makefile and normal code files?

I am using Mac OSX 10.7.5, the contents of .vimrc is as follow: set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set shiftround set smarttab set autoindent set copyindent ...
0
votes
1answer
32 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 ...
0
votes
1answer
61 views

How can I get the name of an executable from a makefile?

I'm trying to configure vim to run "make debug" (which adds the '-g' flag to the rest of the CFLAGS), and then use Pyclewn to run "Cfile $filename here$" and then run it. This will allow me to quickly ...
2
votes
1answer
350 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
1k 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
1answer
187 views

Makefile support for Tiny C Compiler

I just found the brilliant Tiny C Compiler while searching for a small portable C compiler for Windows (I cannot install anything on this system or copy files to it and so need to compile directly on ...
2
votes
0answers
105 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, ...
1
vote
1answer
1k views

Trying to compile glibc in ubuntu. Why does configure stop at linuxthreads?

Here's the config.log contents: I disabled _FORTIFY_SOURCE because it caused an error. But I'm completely clueless as to what might be wrong. (I am aware of this post, suggesting to ...
0
votes
2answers
64 views

dd using device label instead of device

I would like to use a device label instead of the device in a script that I am writing so I can use the script on multiple computers. I want to change the line: sudo dd if=$(TARGET) of=/dev/sdb To ...
1
vote
1answer
391 views

Avoid unwanted path in Zip file in makefile

I want to create an archive for a given folder but without the folders name in the path... In fact I want to do the same thing that this post : Avoid unwanted path in Zip file BUT I'm in a makefile ...
1
vote
2answers
1k views

user XXXX does not exist - using root?

In makefile, i used 'install' command as below command:'install -o 1010 -g 100 -m 0755 -D path' instead of checking user name and group name i would like to check uid and gid. Consider the ...
0
votes
2answers
316 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 ...
3
votes
3answers
3k views

Diff in bash script?

I've been toying around with makefiles and bash scripts and I'm interested in this: Is it possible to get a boolean value from a diff(or something similar) so that I can use it in a bash script to ...
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
1answer
524 views

Use matlab in makefiles etc. How to speed things up?

I use a lot of matlab to process data etc. Yet I find my workflow a bit of sluggish, so I was wondering if I could speed things up a little using makefiles. What I would like to do is write an .m ...
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 ...
1
vote
1answer
266 views

Makefile Backup Target

Goal: I'm trying to create a PHONY target inside my Makefile so that when I run the command "make backup", It will move all the files that end in "~" into the specified backup folder. Here is my code ...
1
vote
1answer
37 views

how to do make_install to target in linux

I am trying to make a project (gloox) for a linux target board. I changed the makefile to use the toolchain of the target. After make I should run make install. What should I do in order to install ...
4
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 ...
2
votes
1answer
389 views

subversion reinstall (source, Makefile, etc)

I installed subversion from source. I forgot the --with-ssl option when running ./configure. Now, I reconfigured and reinstalled, but the binary doesn't seem to change. How do I uninstall and ...
5
votes
2answers
1k views

Makefile fails to install file correctly, installing HPL

I started installing HPL a while ago, and had a related question. I've been following along with this guide from Intel. I figure this warrants a whole new one. When I try to make the archive, the ...
2
votes
1answer
416 views

Installing HPL, makefile problems

I've followed this guide up until step 5. When I run $make arch=intel64 it gives me the following output: make -f Make.top startup_dir arch=intel64 make[1]: Entering directory `/hpl-2.0' ...
2
votes
1answer
207 views

Is it inefficient to have symbolic links to symbolic links?

We're setting up a series of Makefiles where we want to have a project-level include directory that will have symbolic links to sub-project-level include files. Many sub-project developers have ...
4
votes
2answers
1k views

Unable to preserve hard links. Why?

I'm trying to create a Makefile that would automate remastering Knoppix distribution. I'm trying to copy filesystem from the read-only compressed loop device to normal filesystem to be able to modify ...
1
vote
1answer
374 views

Problem isolating the environment variable in a shell script

Hey superuser, I’m a novice here but stackoverflow has helped me in the past. I’m writing a bash shell script to generate a makefile (starting small). echo "\ include ...
0
votes
1answer
3k views

unlinked libraries in a makefile?

I'm trying to install a libspopc, but when I run the make I get the following output: cc -Wall -Wextra -pedantic -pipe -fPIC -Os -DUSE_SSL -c session.c cc -Wall -Wextra -pedantic -pipe -fPIC -Os ...
2
votes
3answers
4k views

How to install elinks on Windows Vista?

I am using bash-3.2 shell through cygwin to try to install elinks browser on my system. I am following this documentation to install. I am executing the following command: ./configure && ...
57
votes
7answers
39k views

How do I make rm not give an error if a file doesn't exist?

I'm writing a makefile that will clean up some useless files at the end of the compilation. If a target has already been made, it will of course skip that target and the useless file may not be ...