1
0
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:
Pablo Oliveira 2020-10-15 09:41:26 +02:00
parent bccdd8224c
commit a65d4b3648

View File

@ -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 "$^")'