|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
CFLAGS=-std=c99 -Wextra -pedantic -g -O2
|
|
|
|
|
|
|
|
|
|
TARGETS=approximate-pi linked-list mandelbrot threads circular-buffer structs ncurses-pong bit-fuckery bit-fuckery2 checkcheck multibrot bloom wo-lernen lua-foo binsearch test-inline-assembly uiowa-threads-example
|
|
|
|
|
EXTRAS=mandelbrot.bmp multibrot.png test-inline-assembly.s
|
|
|
|
|
EXTRAS=mandelbrot.bmp multibrot.png test-inline-assembly.s tags
|
|
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
all: $(TARGETS) $(EXTRAS)
|
|
|
|
@ -17,6 +17,9 @@ cppcheck.txt: *.c *.h
|
|
|
|
|
cppcheck . 2> $@
|
|
|
|
|
cat $@
|
|
|
|
|
|
|
|
|
|
tags: *.c
|
|
|
|
|
ctags -R .
|
|
|
|
|
|
|
|
|
|
mandelbrot: mandelbrot.c
|
|
|
|
|
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm
|
|
|
|
|
|
|
|
|
|