mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 20:42:50 +01:00
Fix Makefile
This commit is contained in:
parent
bccdd8224c
commit
a65d4b3648
@ -4,10 +4,13 @@ CFLAGS=
|
|||||||
FC=gfortran
|
FC=gfortran
|
||||||
FFLAGS=
|
FFLAGS=
|
||||||
|
|
||||||
SOURCE_FILES=$(wildcard *.org)
|
ORG_SOURCE_FILES=qmckl_context.org
|
||||||
|
OBJECT_FILES=$(patsubst %.org,%.o,$(ORG_SOURCE_FILES))
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
|
all: $(OBJECT_FILES)
|
||||||
|
|
||||||
%.c %.h: %.org
|
%.c %.h: %.org
|
||||||
emacs --quick --no-init-file --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "$^")'
|
emacs --quick --no-init-file --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "$^")'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user