[cig-commits] r6843 - cs/cigma/trunk/tests

luis at geodynamics.org luis at geodynamics.org
Thu May 10 13:50:48 PDT 2007


Author: luis
Date: 2007-05-10 13:50:48 -0700 (Thu, 10 May 2007)
New Revision: 6843

Added:
   cs/cigma/trunk/tests/Makefile
Log:
Added makefile for tests


Added: cs/cigma/trunk/tests/Makefile
===================================================================
--- cs/cigma/trunk/tests/Makefile	2007-05-10 20:24:55 UTC (rev 6842)
+++ cs/cigma/trunk/tests/Makefile	2007-05-10 20:50:48 UTC (rev 6843)
@@ -0,0 +1,31 @@
+CC = gcc
+LD = gcc
+OPTIMIZE  = -g
+INCLUDES  = -I../include
+LIBRARIES = -L../lib -Wl,--rpath -Wl,..
+LIBS      = -lcigma -lhdf5
+
+CFLAGS = -Wall $(OPTIMIZE) $(INCLUDES) $(LIBRARIES)
+
+TARGETS = \
+	test_mesh \
+	test_qr \
+	test_det \
+	test_tet4 \
+	test_field \
+	test_volume \
+
+
+all: $(TARGETS)
+
+
+.c:
+	$(CC) $(CFLAGS) $< -o $@ $(LIBS)
+
+
+clean:
+	rm -f $(TARGETS)
+
+
+.PHONY: clean
+



More information about the cig-commits mailing list