
# Makefile for bin2img.

CC = gcc

CFLAGS = -O3 -Wall

SHELL = /bin/sh

# This rule allows us to supply the necessary -D options
# in addition to whatever the user asks for.

all:  bin2img

bin2img: bin2img.c Makefile
	${CC} ${CFLAGS} $@.c -I. -o $@

clean:
	rm -f *.o core bin2img

distclean: clean
	rm -f *.c~ Makefile~
