# Makefile for VgaGames: canvas/

CV_OFILES = cv_bar.o cv_button.o cv_chain.o cv_input.o cv_list.o cv_map.o \
	cv_switch.o cv_text.o cv_uniqkey.o cv_image.o

all: canvas.o misc.o cvtypes.o $(CV_OFILES)

clean:
	rm -f *.o


canvas.o: canvas.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c canvas.c

misc.o: misc.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c misc.c

cvtypes.o: cvtypes.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cvtypes.c

cv_bar.o: cv_bar.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_bar.c

cv_button.o: cv_button.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_button.c

cv_chain.o: cv_chain.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_chain.c

cv_input.o: cv_input.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_input.c

cv_list.o: cv_list.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_list.c

cv_map.o: cv_map.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_map.c

cv_switch.o: cv_switch.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_switch.c

cv_text.o: cv_text.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_text.c

cv_uniqkey.o: cv_uniqkey.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_uniqkey.c

cv_image.o: cv_image.c canvas.h
	$(CC) $(CFLAGS) $(SOFLAGS) -c cv_image.c

