summaryrefslogtreecommitdiffstats
path: root/util/gencmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/gencmap/Makefile')
-rw-r--r--util/gencmap/Makefile46
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.