1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2025-01-03 10:06:09 +01:00

Merge pull request #3 from TREX-CoE/fix-makefile

Fix Makefile
This commit is contained in:
Anthony Scemama 2020-10-15 10:46:00 +02:00 committed by GitHub
commit c5e3521111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,13 @@ CFLAGS=
FC=gfortran
FFLAGS=
SOURCE_FILES=$(wildcard *.org)
ORG_SOURCE_FILES=qmckl_context.org
OBJECT_FILES=$(patsubst %.org,%.o,$(ORG_SOURCE_FILES))
.PHONY: clean
all: $(OBJECT_FILES)
%.c %.h: %.org
emacs --quick --no-init-file --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "$^")'