mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-10-18 14:01:52 +02:00
12 lines
217 B
Makefile
12 lines
217 B
Makefile
|
CC=gcc
|
||
|
CFLAGS=
|
||
|
|
||
|
SOURCE_FILES=$(wildcard *.org)
|
||
|
|
||
|
%.o: %.c.org
|
||
|
- emacs --quick --no-init-file --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "$^")'
|
||
|
- $(CC) $(CFLAGS) -c $*.c -o $@
|
||
|
- rm -f $*.c $*.h
|
||
|
|
||
|
|