Introduction
Introduction Statistics Contact Development Disclaimer Help
tfetch submodules and compile cngf-pf from root makefile - hansen-zoet-exp - co…
git clone git://src.adamsgaard.dk/hansen-zoet-exp
Log
Files
Refs
Submodules
LICENSE
---
commit 90939b5c745c8cb6e0e39ed01c9102f358b59297
parent 1a81425cdf3a9e6ad99d7340b62677b854f98f5c
Author: Anders Damsgaard <[email protected]>
Date: Sat, 23 Apr 2022 12:05:05 +0200
fetch submodules and compile cngf-pf from root makefile
Diffstat:
M Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/Makefile b/Makefile
t@@ -4,7 +4,13 @@ REPO = cngf-pf
FIGDIRS != find . -maxdepth 1 -type d -name 'fig-*' | sed 's/\.\///'
FIGURES = $(FIGDIRS:=.pdf)
-default: $(FIGURES)
+default: ${REPO}/cngf-pf $(FIGURES)
+
+${REPO}/cngf-pf: ${REPO}/cngf-pf.c
+ CFLAGS="-march=native -O3 -pipe" make -C ${REPO}
+
+${REPO}/cngf-pf.c:
+ git submodule update --init
fig-effective_stress.pdf: $(REPO)/$(REPO)
(cd $(@:.pdf=) && make)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.