[X2Go-Commits] [nx-libs] 06/14: imake: also silence makedepend
git-admin at x2go.org
git-admin at x2go.org
Thu Nov 22 09:32:59 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit c4656c5e9052779aa395693d3ca52dde940ab027
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Sun Nov 11 12:30:54 2018 +0100
imake: also silence makedepend
---
nx-X11/config/cf/nxcompile.def | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/nx-X11/config/cf/nxcompile.def b/nx-X11/config/cf/nxcompile.def
index 9fe0ab7..82192b6 100644
--- a/nx-X11/config/cf/nxcompile.def
+++ b/nx-X11/config/cf/nxcompile.def
@@ -6,12 +6,12 @@
#define RemoveFileQuiet(file) @$(RM) -f file \&>/dev/null
-#define ObjectCompile(options) RemoveFileQuiet($@) @@\
+#define RunPrintIfFailed(cmd) @cmd || { echo failed command: cmd; exit 1; }
+
+#define ObjectCompile(options) RemoveFileQuiet($@) @@\
ClearmakeOSName \
@echo \ \ CC $*.c @@\
- @$(CC) -c $(CFLAGS) options $*.c || { echo \ \ CC failed: $(CC)·-c·$(CFLAGS)·options·$*.c; exit 1; }
-
-#define RunPrintIfFailed(cmd) @cmd || { echo failed command: cmd; exit 1; }
+ RunPrintIfFailed($(CC) -c $(CFLAGS) options $*.c)
#define NormalLibraryTarget(libname,objlist) @@\
AllTarget(LibraryTargetName(libname)) @@\
@@ -23,3 +23,8 @@ LibraryTargetName(libname): objlist $(EXTRALIBRARYDEPS) @@\
RunPrintIfFailed(RanLibrary($@)) @@\
RunPrintIfFailed(_LinkBuildLibrary($@))
+#define DependTarget() @@\
+DependDependency() @@\
+ @@\
+depend:: @@\
+ RunPrintIfFailed($(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS))
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list