]> git.gir.st - base65536.git/blob - Makefile
fix -Werror=misleading-indentation
[base65536.git] / Makefile
1 # base65536
2 # (C) 2016 Tobias Girstmair, http://isticktoit.net/
3 # released under the GNU GPL v3. See LICENSE for details.
4
5 .PHONY: all clean test
6 CC=gcc
7 CFLAGS=-std=c99 -Werror -Wall -Wextra
8
9 all: base65536
10
11 base65536:
12 $(CC) $(CFLAGS) base65536.c main.c -o base65536
13
14 gentree:
15 $(CC) $(CFLAGS) generate_struct.c -o gentree
16
17 clean:
18 rm -f base65536 gentree
19
20 test: clean all
21 ./base65536 test/everyByte|./base65536 -d|diff -s test/everyByte -
22 ./base65536 test/everyPairOfBytes|./base65536 -d|diff -s test/everyPairOfBytes -
23 ./base65536 test/lena_std.tif|./base65536 -d|diff -s test/lena_std.tif -
24
Imprint / Impressum