Skip to main content

Questions tagged [makefile]

The tag has no usage guidance.

2 votes
1 answer
2k 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 ~/.local/bin:~/.gem/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/...
user avatar
1 vote
1 answer
5k 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 ...
Shurmajee's user avatar
  • 468
1 vote
2 answers
1k 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 ...
Compiler's user avatar
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....
elcojon's user avatar
  • 241
1 vote
1 answer
2k 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 --disable-sanity-...
Dominic Grenier's user avatar
0 votes
2 answers
392 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 ...
Matthew Hoggan's user avatar
2 votes
1 answer
2k 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 ...
MARTIN Damien's user avatar
1 vote
2 answers
5k 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 ...
Sakthivadivel Anbalagan's user avatar
0 votes
2 answers
415 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 ...
Reid's user avatar
  • 196
4 votes
3 answers
17k 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 ...
Gman's user avatar
  • 41
83 votes
5 answers
128k 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?
Dinesh's user avatar
  • 1,009
4 votes
1 answer
1k 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 ...
romeovs's user avatar
  • 309
12 votes
4 answers
79k 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 ...
black_puppydog's user avatar
1 vote
1 answer
1k 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 ...
Xploit's user avatar
  • 11
1 vote
1 answer
263 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 ...
max's user avatar
  • 13

15 30 50 per page