#### Makefile for pp2bmp

CC	= gcc		# C compiler used
LD	= gcc		# Linker used

# C compiler flags. Remove -DGOT_INLINE if your compiler does not support the
# inline keyword
CFLAGS	= -Wall -O2 -DGOT_INLINE
					
# Linker flags. Change name of math library if necessary
LDFLAGS = -s -lm

all: pp2bmp bmp2pp

clean:
	rm -f *.o *~

pp2bmp: pp2bmp.o Bitmap.o

pp2bmp.o: pp2bmp.c Bitmap.h

Bitmap.o: Bitmap.c Bitmap.h


bmp2pp: bmp2pp.o RDBitmap.o Bitmap.o

bmp2pp.o: bmp2pp.c RDBitmap.h

RDBitmap.o: RDBitmap.c RDBitmap.h
