18 lines
274 B
Makefile
18 lines
274 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -O0 -g
|
|
LDFLAGS=-lm
|
|
TEX=xelatex
|
|
TEXFLAGS=-file-line-error -interaction nonstopmode
|
|
|
|
all: doc
|
|
doc: doc/skiller-sgk3.pdf
|
|
|
|
%.pdf: %.tex
|
|
$(TEX) $(TEXFLAGS) -output-directory build $<
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -MMD -c ./src/$< -o ./build/$@
|
|
|
|
clean:
|
|
rm build/*
|