source: research/2008-displacement/Makefile @ 2276

Last change on this file since 2276 was 2276, checked in by Sam Hocevar, 12 years ago
  • Various small optimisations that make us gain ~3% in speed. Not really worth it, but since it's also better style, I'm keeping them.
File size: 351 bytes
Line 
1all: main xy2d paper.pdf
2
3xy2d: xy2d.c
4        $(CC) -W -Wall $^ -o $@
5
6main: main.c
7        $(CC) -Wall -O3 -funroll-loops -ffast-math -W -Wall $^ -o $@ $$(pkg-config --cflags --libs sdl) -lSDL_image -lm
8
9paper.pdf: paper.tex fs-histo.tex
10        latex paper.tex
11        latex paper.tex
12        dvipdf paper.dvi
13
14clean:
15        rm -f paper.log paper.dvi paper.aux paper.pdf
16        rm -f xy2d main
17
Note: See TracBrowser for help on using the repository browser.