Questions tagged as 'make'

1
answer

Creating file Makefile

I need to write a Makefile file, I've been able to set up something by searching, but I've tried to make it better for what I need, and I'm not getting it. What I'm trying to do: 1 - Check all .c or .cpp files if they have their equivalents ....
asked by 24.06.2017 / 09:01
2
answers

Compile c ++ code with make

I'm trying to compile a project in C ++ using the following makefile code: OBJS = main.o src.o SDIR = ./src IDIR = ./include BDIR = ./bin/ ODIR = $(BDIR)/obj all: main %.o: $(SDIR)/%.cpp $(IDIR)/%.h g+...
asked by 27.12.2017 / 16:31
0
answers

How to compile gettext in MSYS2 using x86_64-w64-mingw32-gcc

I'm doing a series of recompilations to set up a custom QEMU for my microcontroller studies, I succeeded in compiling a few packages up to gettext, after reading all the instruction files in their directory and fetching on the internet advice an...
asked by 24.10.2016 / 13:53
0
answers

Make file and compile in terminal

I need my makefile to run on the terminal so that it is not necessary to insert $ time make run , but only make run , and that it shows the execution time in the same way. Can anyone help me please? Make code: NAME=TP1_mai...
asked by 07.09.2017 / 21:50
1
answer

how to ask Make to only execute one target after the end of another when using multicore

UPDATED When you run make with the -j option to use multicore, or place each requesting target on a core, it does not respect the order being executed simultaneously. For example make Object1 Object2 -j4 It will execute the Obje...
asked by 08.10.2016 / 13:39
1
answer

How to Install make in MSYS2

I need several commands used with Linux in my windows environment, and although Microsoft is releasing a new Ubuntu-based shell I was not very happy with the results and I opted to use MSYS2, I already used CygWin, but I was also no longer satis...
asked by 18.10.2016 / 09:27