#######
# for unix
# Makefile template for mkstrip, program which makes a strip of image from
# combining several images
#######
INCLUDES= -I. -I../combine -I..
CC= @CC@
DEFS= @DEFS@
DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES_
CFLAGS= -O $(DEFINES) 

BINARY=mkstrip
LIBS= ../combine/libCombine.a

OBJS= mkstrip.o

all: mkstrip

mkstrip: $(OBJS)
	$(CC) $(CFLAGS) -o $(BINARY) $(OBJS) $(LIBS)

mkstrip.o: mkstrip.c
	$(CC) $(CFLAGS) -c mkstrip.c

clean:
	rm -f mkstrip.o mkstrip core
