# Makefile for KColorEditor
# 	by Michael Riedel

CC=g++
MOC=moc

# including debugging info:
_CPPFLAGS=-O0 -Wall -I$(QTDIR)/include -I$(KDEDIR)/include -I.\
		   -Imoc -DSTDC_HEADERS -g
# optimized:
CPPFLAGS=-O3 -Wall -I$(QTDIR)/include -I$(KDEDIR)/include -I.\
		   -Imoc -DSTDC_HEADERS
#################################
	
DATA_FILES=	EditorSettingsDlg.o ColorSet.o EditorSettingsData.o ColorSetData.o

all:            $(DATA_FILES)

#moc:		ook
#		@make -C ..\moc all

clean:
		rm -f $(DATA_FILES)


### MAKEFILE DEPENDENCIES ###

%.o: %.cpp ../moc/%.moc
	$(CC) $(CPPFLAGS) -c $<

%.o: %.C ../moc/%.moc
	$(CC) $(CPPFLAGS) -c $<
