summaryrefslogtreecommitdiff
path: root/tests/bcppmake/tests.bpg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bcppmake/tests.bpg')
-rw-r--r--tests/bcppmake/tests.bpg33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/bcppmake/tests.bpg b/tests/bcppmake/tests.bpg
new file mode 100644
index 0000000..ab1bb9c
--- /dev/null
+++ b/tests/bcppmake/tests.bpg
@@ -0,0 +1,33 @@
+#------------------------------------------------------------------------------
+VERSION = BWS.01
+#------------------------------------------------------------------------------
+!ifndef ROOT
+ROOT = $(MAKEDIR)\..
+!endif
+#------------------------------------------------------------------------------
+MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
+DCC = $(ROOT)\bin\dcc32.exe $**
+BRCC = $(ROOT)\bin\brcc32.exe $**
+#------------------------------------------------------------------------------
+PROJECTS = libsword.lib parsekey.exe filtertest.exe mgrtest.exe
+#------------------------------------------------------------------------------
+default: $(PROJECTS)
+#------------------------------------------------------------------------------
+
+libsword.lib: libsword.bpr
+ $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $**
+ $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
+
+parsekey.exe: parsekey.bpr
+ $(ROOT)\bin\bpr2mak $**
+ $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
+
+filtertest.exe: filtertest.bpr
+ $(ROOT)\bin\bpr2mak $**
+ $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
+
+mgrtest.exe: mgrtest.bpr
+ $(ROOT)\bin\bpr2mak $**
+ $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
+
+