use ctags

master
neingeist 11 years ago
parent 89978e5097
commit 30b4726cab

1
.gitignore vendored

@ -22,3 +22,4 @@ binsearch
test-inline-assembly test-inline-assembly
test-inline-assembly.s test-inline-assembly.s
uiowa-threads-example uiowa-threads-example
tags

@ -1,7 +1,7 @@
CFLAGS=-std=c99 -Wextra -pedantic -g -O2 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 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 .PHONY: all
all: $(TARGETS) $(EXTRAS) all: $(TARGETS) $(EXTRAS)
@ -17,6 +17,9 @@ cppcheck.txt: *.c *.h
cppcheck . 2> $@ cppcheck . 2> $@
cat $@ cat $@
tags: *.c
ctags -R .
mandelbrot: mandelbrot.c mandelbrot: mandelbrot.c
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm $(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm

Loading…
Cancel
Save