OS/Makefile
2018-10-27 19:04:07 +02:00

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/*