Quick compilation tool.
[u/mdw/catacomb] / qcc.in
diff --git a/qcc.in b/qcc.in
new file mode 100644 (file)
index 0000000..175b211
--- /dev/null
+++ b/qcc.in
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+srcdir="@srcdir@"
+CC="@CC@" CFLAGS="@CFLAGS@" LDFLAGS="@LDFLAGS@"
+DEFS="@DEFS@ -I. -I${srcdir}"
+LDADD=".libs/libcatacomb.a @LIBS@"
+
+echo $CC $DEFS $CFLAGS $LDFLAGS "$@" $LDADD
+exec $CC $DEFS $CFLAGS "$@" $LDADD