Questions tagged [makepp]
8 questions
36
votes
4 answers
Can a makefile have a directory as a target?
I am trying to say "the download of the git repository will only work if the directory yank/ exists. If the directory yank/ does not exist then make it"
yank/gist.el/gist.el : yank
cd yank ; git clone http://github.com/defunkt/gist.el.git…

Terrence Brannon
- 4,760
- 7
- 42
- 61
7
votes
3 answers
Makefile: depend on every file of a directory
I'd like to do a Makefile that runs either with gnumake or makepp that packs all the files under given directiories:
DIRS:=$(shell find . -mindepth 2 -maxdepth 2 -not -name mp3 -not -name ".*" -type d)
PACKAGES = $(DIRS:%=%.npk)
all:…

Gavriel
- 18,880
- 12
- 68
- 105
1
vote
0 answers
How to not generate infer_objects in makeppfile
makepplog: infer_objects called with seed objects `decompsim_fmod_test_wrapper_tblink_stub.o'
Makepp is inferring that i need to create the object file corresponding to my CPP file. But i dont need that. How do i stop makepp from doing…

justrajdeep
- 855
- 3
- 12
- 29
1
vote
0 answers
Can two foreach loop be used simultaneously in one rule in a makeppfile?
I have two variables which are basically List of Clients and other variable is the clock domains of those clients.
The first variable is the list of clients
$CLIENTS
and the second variable are the clock domains of the corresponding…

abhishek taur
- 53
- 1
- 2
- 7
1
vote
1 answer
makepp: how to manage several builds with common source dir?
I have a source tree:
/bootloader
/firmware
/system
and want to manage two separate builds for firmware and bootloader, each of them using common system sources but compiles them differently (i.e. with its own set of options).
Builds must be…

Artem Pisarenko
- 123
- 1
- 2
- 13
0
votes
0 answers
Is there a way to turn on ifdef/ifeq/else/endif pairing check in makepp file?
I have to debug a huge legacy makepp file which has mismatched ifdef/ifeq/else/endif. I am surprised makepp does not flag any error. The version I use is:
1.50-1009181-09138-0902101
I tried gnumake 4.2.1 and it is able to flag errors. Is there a…

L.Z
- 21
- 1
0
votes
2 answers
what, besides the source, would cause an explicit rule to execute to produce a makefile target?
It is clear that the target is newer than the source from these two ls
comands:
[metaperl@andLinux ~/edan/pkg/gist.el] ls -l ../../wares/gist.el/gist.elc #target
-rw-r--r-- 1 metaperl metaperl 10465 Jul 18 10:56…

Terrence Brannon
- 4,760
- 7
- 42
- 61
0
votes
1 answer
String comparison in Makeppfile
As part of my project, I work with c++ tests and I have to pass an argument to only a particular test based. So what I've done is in my Makeppfile,
ifeq($(TESTNAME), "t_wfi" )
genArg1 += -force_wfi
endif
But now, there are more tests added that…

RoyOneMillion
- 225
- 2
- 10