Simple ROOT GUI & Makefile... some difficulties

Hello,
I’m quite new with ROOT and I’m currently building a GUI.
I have some difficulties writing the Makefile for my 3 little files…

OBJS =		MainFrame.o main.o

LIBS = `root-config --glibs` -lHtml -lSpectrum 
CXXFLAGS =	-O2 -g -Wall `root-config --cflags` -fmessage-length=0
TARGET =	app

$(TARGET):	$(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(LIBS)

all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)

MainFrame is derivating from TGMainFrame, and it just creates an empty windows. main just create this object.
It doesn’t compile, I get messages like :

I heard this is because I need to generate dictionaries and include those compiled files while my target compilation.

Hope I’m clear enough.
Thanks in advance,

eouti

As it states in the description of this forum, this is for working applications. You’re much more likely to get help posting in the first forum.