summaryrefslogtreecommitdiff
path: root/app/wlib/test/wtest.mak
diff options
context:
space:
mode:
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