1 ### Includes for QT library
4 ### QT library directory
7 ### moc compiler directory
11 INSTALLDIR=/home/andrzej/vlp3binD
13 ### QT Library linking phrase
16 ####### Change the INCDIR, LFLAGS and MOC
19 CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include
21 YACCCFLAGS = -Wno-unused -Wno-parentheses
22 LFLAGS = -L$(QLIB) $(QLINK)
33 SRCMOC = moc_editor.cpp
37 ####### Implicit rules
42 $(CC) -c $(CFLAGS) -I$(INCDIR) -o $@ $<
45 $(CC) -c $(CFLAGS) -I$(INCDIR) -o $@ $<
51 $(TARGET): $(OBJECTS) $(OBJMOC)
52 $(CC) $(OBJECTS) $(OBJMOC) -o $(TARGET) $(LFLAGS)
57 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET)
61 editor.o: editor.cpp \
65 moc_editor.o: moc_editor.cpp \
68 moc_editor.cpp: editor.h
69 $(MOC) editor.h -o moc_editor.cpp