test inline assembly

This commit is contained in:
orange 2013-08-02 19:04:57 +02:00
parent f1d1727bf6
commit fcdc22b861
3 changed files with 23 additions and 2 deletions

View file

@ -1,8 +1,8 @@
CFLAGS=-std=c99 -Wall -g -O2
INDENTOPTS=-kr --no-tabs --braces-on-func-def-line --indent-level2
TARGETS=approximate-pi linked-list mandelbrot threads circular-buffer structs ncurses-pong bit-fuckery bit-fuckery2 checkcheck multibrot bloom wo-lernen lua-foo binsearch
EXTRAS=mandelbrot.bmp multibrot.png
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
EXTRAS=mandelbrot.bmp multibrot.png test-inline-assembly.s
.PHONY: all
all: $(TARGETS) $(EXTRAS)
@ -34,3 +34,9 @@ multibrot.png: multibrot
lua-foo: lua-foo.c
$(CC) $(CFLAGS) -o $@ $< -llua -lm
test-inline-assembly: test-inline-assembly.c
$(CC) -Wall -o $@ $<
test-inline-assembly.s: test-inline-assembly.c
$(CC) -Wall -S -o $@ $<