############################################################################# # Makefile for building: kconfig # Generated by qmake (1.05a) (Qt 3.1.2) on: Mon Oct 27 13:07:06 2003 # Project: kconfig.pro # Template: app # Command: $(QMAKE) -o Makefile kconfig.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -Wall -W -g CXXFLAGS = -pipe -Wall -W -g LEXFLAGS = YACCFLAGS= -d INCPATH = -I$(QTDIR)/mkspecs/default -I. -I. -I/usr/include/kde -I$(QTDIR)/include LINK = g++ LFLAGS = LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L/usr/lib/kde3 -lqt-mt -lXext -lX11 -lm -lkdecore AR = ar cqs RANLIB = MOC = $(QTDIR)/bin/moc UIC = $(QTDIR)/bin/uic QMAKE = qmake TAR = tar -cf GZIP = gzip -9f COPY = cp -f COPY_FILE= $(COPY) -p COPY_DIR = $(COPY) -pR DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = ./ ####### Files HEADERS = SOURCES = main.cpp OBJECTS = main.o FORMS = UICDECLS = UICIMPLS = SRCMOC = OBJMOC = QMAKE_TARGET = ktag DESTDIR = TARGET = ktag first: all ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ####### Build rules all: $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) dist: @mkdir -p .tmp/kconfig && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/kconfig/ && ( cd `dirname .tmp/kconfig` && $(TAR) kconfig.tar kconfig && $(GZIP) kconfig.tar ) && $(MOVE) `dirname .tmp/kconfig`/kconfig.tar.gz . && $(DEL_FILE) -r .tmp/kconfig mocclean: uiclean: yaccclean: lexclean: clean: -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile main.o: main.cpp ####### Install install: all uninstall: