Fresco/Babylon/test Makefile.in,1.1,1.2

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Babylon/test
In directory purcel:/tmp/cvs-serv28022/Babylon/test

Modified Files:
	Makefile.in 
Log Message:
Add a "framework test" to Babylon:
It only has two tests, one allways passing, the other allways failing.
It builds and runs. (You have to set LD_LIBRARY_PATH!)


Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Babylon/test/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.in	3 Apr 2003 22:43:43 -0000	1.1
+++ Makefile.in	4 Apr 2003 17:39:48 -0000	1.2
@@ -32,7 +32,7 @@
 CXXFLAGS	+= $(SO_CXXFLAGS)
 LDFLAGS		+= $(SO_LDFLAGS)
 
-TESTS		:= 
+TESTS		:= framework.cc
 
 HDR		:= 
 SYN		:= $(patsubst %.cc, %.syn, $(TESTS))
@@ -55,7 +55,7 @@
 
 $(TARGETS): $(OBJ)
 	@echo linking $(@F)
-	$(CXX) `$(CONFIG) --libs` -o $@ $<
+	$(CXX) `$(TEST_CONFIG) --libs` -o $@ $<
 
 depend: $(DEP)
 
@@ -77,7 +77,7 @@
 
 $(SYN): $(TESTS)
 	@echo generating $(@F)
-	$(SYNOPSIS) -pC++ -I$(hdir) -o $@ $<
+	$(SYNOPSIS) -pC++ -I$(hdir) `$(TEST_CONFIG) --cppflags` -o $@ $<
 
 $(HARNESS): $(SYN)
 	@echo generating test harness for $(@F)
@@ -89,4 +89,4 @@
 
 $(OBJ): $(HARNESS)
 	@echo compiling $(@F)
-	$(CXX) `$(CONFIG) --cppflags` `$(CONFIG) --cxxflags` -c $< -o $@
+	$(CXX) `$(TEST_CONFIG) --cppflags` `$(TEST_CONFIG) --cxxflags` -c $< -o $@
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.