############################################################################
#                                                                          #
# TOAD - thing on a desk                                                   #
# Copyright (C) 1996-1999 by Mark-Andr Hopf                               #
#                                                                          #
############################################################################

PRGFILE		= tpaint
# CFLAGS		= -DTOAD_OLD_CONNECT

SRCS		= tpaint.cc BitmapEditor.cc ColorEditor.cc Tool.cc \
		  NewBitmapDialog.cc Palette.cc ZoomDlg.cc \
                  resource.cc

RESOURCE	= tpaint.png tpaint_draw.png tpaint_fill.png tpaint_plot.png \
		  standard.pal \
		  $(wildcard resource/*)

CLEAN		= bin2c resource.cc
			
DEFINES		=

include ../../conf/MakefilePrg

resource.cc: bin2c Makefile $(RESOURCE)
	./bin2c $(RESOURCE) > resource.cc

bin2c: bin2c.c
	cc -o bin2c bin2c.c
