1 ### Includes for QT library
4 ### QT library directory
7 ### moc compiler directory
11 INSTALLDIR=/home/andrzej/vlp3binD
13 ### QT Library linking phrase
15 ##### Change INCDIR, LFLAGS and MOC
18 CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include
20 YACCCFLAGS = -Wno-unused -Wno-parentheses
21 LFLAGS = -L$(QLIB) $(QLINK)
28 SOURCES = lgconfig.cpp
30 SRCMETA = lgconfig.moc
33 ####### Implicit rules
38 $(CC) -c $(CFLAGS) -I$(INCDIR) $<
44 $(TARGET): $(SRCMETA) $(OBJECTS)
45 $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm
48 @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null
51 @echo $(SOURCES) $(HEADERS) Makefile
54 -rm -f *.o *.bak *~ *% #*
55 -rm -f $(SRCMETA) $(TARGET)
59 lgconfig.moc: lgconfig.cpp
60 $(MOC) lgconfig.cpp -o lgconfig.moc
63 # DO NOT DELETE THIS LINE -- make depend depends on it.