opt := -Wall -O2 -I.

all: bmp

bmp: bmp.o
	gcc $(opt) bmp.o -o $@

bmp.o: bmp.c
	gcc $(opt) -c bmp.c

clean:
	rm -f bmp *.o

