summaryrefslogtreecommitdiff
path: root/a6/Makefile
blob: bc38dd3f518821b2b91f6a557403d16041cde7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
TEX_FLAGS=-halt-on-error -file-line-error -interaction=batchmode
TEX_NAME=au_BentBisballeNyeng_A6
CXX_FLAGS=-g -O2 -fconcepts -fcoroutines -Wall -Werror -Wextra -Wconversion -std=c++20

all: noalloc pdf

noalloc: noalloc.cc Makefile
	g++ ${CXX_FLAGS} $< -o $@

stack_new: stack_new.cc Makefile
	g++ ${CXX_FLAGS} $< -o $@

custom: custom.cc Makefile
	g++ ${CXX_FLAGS} $< -o $@

pdf: ${TEX_NAME}.pdf

${TEX_NAME}.bbl: ${TEX_NAME}.bcf
	biber --onlylog $<

${TEX_NAME}.bcf: ${TEX_NAME}.tex
	xelatex --no-pdf --no-aux ${TEX_FLAGS} $<

${TEX_NAME}.pdf: ${TEX_NAME}.tex ${TEX_NAME}.bbl
#	xelatex --no-pdf ${TEX_FLAGS} $<
	xelatex ${TEX_FLAGS} $<