Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
ffc723e7
Commit
ffc723e7
authored
Nov 11, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
silence imake compilation
Suppress printing the rm and the cc call for every file. Only print the compiler call in case of error.
parent
a93f64e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
nxcompile.def
nx-X11/config/cf/nxcompile.def
+25
-0
xorg.cf
nx-X11/config/cf/xorg.cf
+1
-1
No files found.
nx-X11/config/cf/nxcompile.def
0 → 100644
View file @
ffc723e7
/*
our own rules to have a much cleaner compilation output
derived from Imake.rules
*/
#define RemoveFileQuiet(file) @$(RM) -f file \&>/dev/null
#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; }
#define NormalLibraryTarget(libname,objlist) @@\
AllTarget(LibraryTargetName(libname)) @@\
@@\
LibraryTargetName(libname): objlist $(EXTRALIBRARYDEPS) @@\
@echo \ \ Creating lib: $@ @@\
RemoveFileQuiet($@) @@\
RunPrintIfFailed(MakeLibrary($@,objlist)) @@\
RunPrintIfFailed(RanLibrary($@)) @@\
RunPrintIfFailed(_LinkBuildLibrary($@))
nx-X11/config/cf/xorg.cf
View file @
ffc723e7
...
...
@@ -53,7 +53,7 @@ RELEASE_VERSION = ReleaseVersion
#if NXAgentServer
#include "nxconfig.def"
#include "nxcompile.def"
#include "nxversion.def"
#if !defined(nxVersionString) && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment