Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Rainer Weikusat Newsgroups: comp.os.linux.development.apps Subject: Re: How compile GNU make from sources? Date: Wed, 05 Dec 2018 23:07:14 +0000 Lines: 23 Message-ID: <87efavh8t9.fsf@doppelsaurus.mobileactivedefense.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net HP9csNoH0+/fhtHbGG4qKAkJtKZ3Qd7tOmvJ07sw0fJDrqdpE= Cancel-Lock: sha1:BL1nPelca8GHW/MVH7hGcmopBrQ= sha1:MmWQ7QK2xxBqjgGEiU24JNI8bn8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Xref: csiph.com comp.os.linux.development.apps:891 Tauno Voipio writes: > On 5.12.18 21:28, Borneq wrote: >> W dniu 05.12.2018 o 19:21, Tauno Voipio pisze: >>> Your makefile is bad, if it looks at or into .git directory. >>> Make should use timestamps of the dependencies only. >> >> because >> # The top-level source directory on which CMake was run. >> CMAKE_SOURCE_DIR = /home/user/projects/project_name >> ? >> >> project_name contains .git and several directories: app, lib, test.. > > > You did ask about GNU Make, which is NOT CMake. > Please do not change the target during discussion. > > Try again with the real thing. He already mentioned that he was using CMake generated Makefile. This suggests that the problem is really with CMake/ the way CMake is being used, and that the "compile GNU make from source" was just a (very likely wrong-headed) attempt at a solution.