aboutsummaryrefslogtreecommitdiff
path: root/apps/xwininfo/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xwininfo/makefile')
-rw-r--r--apps/xwininfo/makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/xwininfo/makefile b/apps/xwininfo/makefile
new file mode 100644
index 000000000..d7693cd1f
--- /dev/null
+++ b/apps/xwininfo/makefile
@@ -0,0 +1,23 @@
+TTYAPP = xwininfo
+
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libxcb\src\$(OBJDIR)\libxcb.lib \
+ $(MHMAKECONF)\libXau\$(OBJDIR)\libXau.lib \
+ $(MHMAKECONF)\libXext\src\$(OBJDIR)\libXext.lib \
+ $(MHMAKECONF)\libX11\$(OBJDIR)\libX11.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+ifeq ($(DEBUG),1)
+LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2d.lib
+else
+LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2.lib
+endif
+
+CSRCS = \
+ clientwin.c \
+ dsimple.c \
+ xwininfo.c
+