INCL= -I$(QTDIR)/include -I$(KDEDIR)/include CFLAGS= -pipe -O2 -fno-strength-reduce LFLAGS= -L$(QTDIR)/lib -L$(KDEDIR)/lib -L/usr/X11R6/lib LIBS= -lqt-mt -lX11 -lXext CC=g++ helloworld: helloworld.o $(CC) $(LFLAGS) -o helloworld helloworld.o $(LIBS) helloworld.o: helloworld.cpp clean: rm -f helloworld rm -f helloworld.o .SUFFIXES: .cpp .cpp.o: $(CC) -c $(CFLAGS) $(INCL) -o $@ $<