aboutsummaryrefslogtreecommitdiff
path: root/zinclib.d/test/Makefile
diff options
context:
space:
mode:
authorcvs2svn2005-06-10 10:29:11 +0000
committercvs2svn2005-06-10 10:29:11 +0000
commit960cdf29197bc3f5922110cf26627aa9709ac79b (patch)
tree7d6e4a472376b203d21826c2230b4a8c6a9024bd /zinclib.d/test/Makefile
parent3fc9c4bc1d6f70db41ad418992bf3d461059d3c0 (diff)
downloadtkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.zip
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.gz
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.bz2
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.xz
This commit was manufactured by cvs2svn to create branch 'bogue40'.
Diffstat (limited to 'zinclib.d/test/Makefile')
-rw-r--r--zinclib.d/test/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/zinclib.d/test/Makefile b/zinclib.d/test/Makefile
deleted file mode 100644
index 84938e6..0000000
--- a/zinclib.d/test/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-########################################
-# zinclib tests makefile
-########################################
-
-# list of tests to make
-EXECS = items widget test itemconf
-
-# default : all tests
-all: $(EXECS)
-
-# usefull commons
-include ../../../v0.1/common.mk
-
-# specific options
-INCLUDE = -I../src
-LIBDIR = ../tmp
-LDFLAGS += -L../../../v0.1/lib -ltcl8.4 -ltk8.4 -lTkZinc $(LIBDIR)/zinclib.o
-
-# generic target
-%.o: %.cpp
- $(CXX) $(CXXFLAGS) -o $@ -c $<
-
-clean:
- rm -f *.o $(PROFFILES) $(EXECS) core.* *.exe
-
-clean_code: clean
- rm -f *~ .\#*
-
-# function to create a target for each test
-define funct
-$(1): $(1).o $(LIBDIR)/zinclib.o
- $$(GCC) $$(LDFLAGS) -o $$@ $$<
-endef
-
-# create a target for each test
-$(foreach prog,$(EXECS),$(eval $(call funct,$(prog))))