diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 14:06:06 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 14:06:06 (GMT) |
commit | f15b8a83e2e51955776a3f07cb85ebfc342dd8ef (patch) | |
tree | c5dc684986051654898db11ce73e03b9fec8db99 /util/gencmap/Makefile | |
download | Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.zip Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.gz Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.bz2 |
Initial import of statemachine branch from the old kinetic repository
Diffstat (limited to 'util/gencmap/Makefile')
-rw-r--r-- | util/gencmap/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/util/gencmap/Makefile b/util/gencmap/Makefile new file mode 100644 index 0000000..a338472 --- /dev/null +++ b/util/gencmap/Makefile @@ -0,0 +1,46 @@ +############################################################################# +# Qt Makefile - gencmap +############################################################################# + +####### Directories + +BASEDIR = $(QTDIR) +INCDIR = $(BASEDIR)/include +LIBDIR = $(BASEDIR)/lib + +####### Compiler + +CFLAGS = -O2 +LFLAGS = -L$(LIBDIR) +CC = gcc + +####### Files + +SOURCES = gencmap.cpp +OBJECTS = gencmap.o +TARGET = gencmap + +####### Implicit rules + +.SUFFIXES: +.SUFFIXES: .cpp $(SUFFIXES) + +.cpp.o: + $(CC) -c $(CFLAGS) -I$(INCDIR) $< + +####### Build rules + +all: $(TARGET) + +$(TARGET): $(OBJECTS) + $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) + +depend: + @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null + +clean: + -rm -f *.o *.bak *~ *% #* + -rm -f $(TARGET) + + +# DO NOT DELETE THIS LINE -- make depend depends on it. |