Skip to main content

Questions tagged [make]

For questions pertaining to make, a utility that automates the build process by managing dependencies amongst targets. Use this tag for questions about make itself or questions about issues arising from using the make command-line utility.

0 votes
2 answers
48 views

Is there any hope of using $(<D) here? Any hope of avoiding the mystery dots? $ cat Makefile D=$(HOME)/Downloads test: $D/DreamHost\ Web\ Panel\ _\ Mail\ _\ Message\ Filters.html : mv "$&...
Dan Jacobson's user avatar
1 vote
1 answer
40 views

I'm trying to compile the drm-subtree of JSM because I want to enable the panfrost driver on the RockPro64 / KHADAS EDGE-V / RK3399. The code is here: https://github.com/jsm222/drm-subtree He improved ...
john_connor's user avatar
4 votes
1 answer
353 views

NMAKE by Microsoft comes with some components of Visual Studio. Is it POSIX-compliant?
user avatar
2 votes
1 answer
352 views

All we get in Makefiles is just one %/$* pattern rule pair. $ cat Makefile %.bla:; echo $* $ make -s m.bla m How shortsighted of our Unix™ fathers. How can I achieve something like %{0}.%{1}.bla that ...
Dan Jacobson's user avatar
5 votes
2 answers
442 views

In the shell I can do $ a=b b=c; eval echo \$$a c How do I do the same with GNU Make's $(eval) function? $ cat Makefile a=b b=c x:; echo {What goes here in order to get:} $ make c
Dan Jacobson's user avatar
0 votes
2 answers
130 views

Honestly, I want to control, when is this sub-make rebuilt. To my largest surprise, any time if I use an include generated.sub.Makefile, it also tries to rebuild-it and then re-read my whole Makefile ...
peterh's user avatar
  • 10.5k
0 votes
1 answer
94 views

Trying to run this code in my Makefile: MAKEFLAGS+=--no-buildin-rules MAKEVARIABLES+=--no-builtin-variables fixClean: dissoc.c echo "Inside fixClean" ${CC} $<.c ${CFLAGS} ${LIBS} -...
Nibal's user avatar
  • 11
1 vote
2 answers
512 views

Got a makefile whith this command which convert folder names on ./cmd/ from snake_case to PascalCase test: @for f in $(shell ls ./cmd/); do \ echo $${f}; \ echo $${f} | sed -r 's/(^...
Ricardo Albear's user avatar
1 vote
2 answers
77 views

Is it possible to have a flexible extension for a prerequisite? For example, let's say I want to apply a rule to a list of targets that all have the same prerequisite pattern, except that some of them ...
user2165907's user avatar
0 votes
3 answers
138 views

30 years ago, I've started C++. Mostly under DOS, Windows 3.1 and 95. I've wrote some for 10 years. Then Java replaced it at work, for about 20 years. Now C++ in coming back in the front of the scene. ...
Marc Le Bihan's user avatar
1 vote
0 answers
131 views

I have a Ugreen DXP 6800 Pro and the OS disk died. No actual NAS data was lost but I cannot figure out how to get the OS back to the same state. I was previously able to compile modules and add them ...
lmnop's user avatar
  • 11
0 votes
0 answers
32 views

In someone's Makefile, I saw clean: rm -f *.{log,pdf,bbl,blg,aux} Upon running make clean, all the files were still there as before; nothing was removed. So what's the analogon of a shell's rm -...
AlMa1r's user avatar
  • 1
0 votes
1 answer
72 views

I have an external kernel module and a Makefile. I was using Kbuild but decided to go with a straight Makefile and make. I have my headers installed, build-essential and kmod installed, and I am ...
Mala Dies's user avatar
3 votes
1 answer
934 views

I've created a makefile command to automate a publishing workflow using Pandoc and the Generic Preprocessor (GPP). It is as follows: TODAY = $(shell date +'%Y%m%d-%H%M') MACROS = utils/gpp/macros.md ...
Khalid Hussain's user avatar
-1 votes
2 answers
1k views

I was following the guide here and when I tried running make menuconfig it said Unable to find the ncurses libraries or the required header files. 'make menuconfig' requires the ncurses libraries. ...
Ligerbot's user avatar

15 30 50 per page
1
2 3 4 5
69