INCDIR  = ainc
COPTS	= -Wall -c -I$(INCDIR)

OBJS	= app.o mainwin.o editwin.o msgtotext.o strreq.o editstring.o
EXE	= ase

CC	= gcc
LL	= gcc

all : $(EXE)

$(EXE) : $(OBJS)
	$(LL) $(OBJS) -lsyllable -lstdc++ -lm -o $@
	rescopy -r $(EXE) *.png

clean:
	-rm $(OBJS)
#.c.o :
#	$(CC) $(COPTS) $< -o $@
.cpp.o:
	$(CC) $(COPTS) $< -o $@

app.o:			app.cpp mainwin.h app.h
mainwin.o:		mainwin.cpp mainwin.h editwin.h app.h msgtotext.h
editwin.o:		editwin.cpp editwin.h app.h msgtotext.h editstring.h
msgtotext.o:	msgtotext.cpp msgtotext.h
strreq.o:		strreq.cpp strreq.h
editstring.o:	editstring.cpp editstring.h

