summaryrefslogtreecommitdiff
path: root/app/wlib/test/wtest.mak
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
commit7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch)
tree686678532eefed525c242fd214d0cfb2914726c5 /app/wlib/test/wtest.mak
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'app/wlib/test/wtest.mak')
-rw-r--r--app/wlib/test/wtest.mak23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/wlib/test/wtest.mak b/app/wlib/test/wtest.mak
new file mode 100644
index 0000000..6c1a62a
--- /dev/null
+++ b/app/wlib/test/wtest.mak
@@ -0,0 +1,23 @@
+all: $(TEST).exe wtest.res
+
+some: wtest.exe wtest.res
+
+FREDOBJS = $(TEST).obj
+
+.c.obj:
+ @cl /nologo /DWINDOWS /c /I../include /Od /Zp /W3 $<
+
+mswlibl:
+ echo making mswlib.lib
+ cd ..\mswlib
+ makemsw
+ cd ..\wtest
+
+$(TEST).exe: $(FREDOBJS) wtest.def
+ @echo /nologo > $(TEST).lnk
+ @echo $(TEST).obj >> $(TEST).lnk
+ @echo $(TEST) >> $(TEST).lnk
+ @echo $(TEST) >> $(TEST).lnk
+ @echo ..\mswlib\Debug\wlib.lib >> $(TEST).lnk
+ link @$(TEST).lnk
+ rc /I.. /I..\mswlib wtest.rc $(TEST).exe \ No newline at end of file