]> ruin.nu Git - popboot.git/commitdiff
the Makefile might be useful if you don't have qmake
authorMichael Andreen <harv@ruin.nu>
Mon, 9 May 2005 11:09:18 +0000 (11:09 +0000)
committerMichael Andreen <harv@ruin.nu>
Mon, 9 May 2005 11:09:18 +0000 (11:09 +0000)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..0e6852d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,147 @@
+#############################################################################
+# Makefile for building: planner
+# Generated by qmake (1.07a) (Qt 3.3.4) on: Mon May  9 12:42:54 2005
+# Project:  src.pro
+# Template: app
+# Command: $(QMAKE) -o Makefile src.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/usr/qt/3/mkspecs/linux-g++ -I. -I.
+LINK     = g++
+LFLAGS   = 
+LIBS     = $(SUBLIBS)  
+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)
+COPY_DIR = $(COPY) -r
+INSTALL_FILE= $(COPY_FILE)
+INSTALL_DIR = $(COPY_DIR)
+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 = action.h \
+               node.h \
+               planner.h
+SOURCES = action.cpp \
+               main.cpp \
+               node.cpp \
+               planner.cpp
+OBJECTS = action.o \
+               main.o \
+               node.o \
+               planner.o
+FORMS = 
+UICDECLS = 
+UICIMPLS = 
+SRCMOC   = 
+OBJMOC = 
+DIST      = src.pro
+QMAKE_TARGET = planner
+DESTDIR  = 
+TARGET   = planner
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .c .o .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: Makefile $(TARGET)
+
+$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
+       $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
+
+mocables: $(SRCMOC)
+uicables: $(UICDECLS) $(UICIMPLS)
+
+$(MOC): 
+       ( cd $(QTDIR)/src/moc && $(MAKE) )
+
+Makefile: src.pro  /usr/qt/3/mkspecs/linux-g++/qmake.conf 
+       $(QMAKE) -o Makefile src.pro
+qmake: 
+       @$(QMAKE) -o Makefile src.pro
+
+dist: 
+       @mkdir -p .tmp/planner && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/planner/ && ( cd `dirname .tmp/planner` && $(TAR) planner.tar planner && $(GZIP) planner.tar ) && $(MOVE) `dirname .tmp/planner`/planner.tar.gz . && $(DEL_FILE) -r .tmp/planner
+
+mocclean:
+uiclean:
+
+yaccclean:
+lexclean:
+clean:
+       -$(DEL_FILE) $(OBJECTS)
+       -$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+       -$(DEL_FILE) $(TARGET) $(TARGET)
+
+
+FORCE:
+
+####### Compile
+
+action.o: action.cpp action.h
+
+main.o: main.cpp planner.h \
+               action.h
+
+node.o: node.cpp node.h \
+               action.h
+
+planner.o: planner.cpp planner.h \
+               node.h \
+               action.h
+
+####### Install
+
+install:  
+
+uninstall:  
+