aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/makefile')
-rw-r--r--xorg-server/hw/xwin/makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/xorg-server/hw/xwin/makefile b/xorg-server/hw/xwin/makefile
index 60708a16b..28af59368 100644
--- a/xorg-server/hw/xwin/makefile
+++ b/xorg-server/hw/xwin/makefile
@@ -110,8 +110,10 @@ DEFINES += HAVE_XWIN_CONFIG_H BUILD_DATE=0-0-0000 PTW32_STATIC_LIB
#CSRCS=winkeybd.c
-winprefslex.c: winprefslex.l winprefsyacc.h
+INCLUDES += $(OBJDIR)
+
+$(OBJDIR)\winprefslex.c: winprefslex.l winprefsyacc.h
flex -i -o$@ $<
-winprefsyacc.c winprefsyacc.h: winprefsyacc.y
- bison -d -owinprefsyacc.c $<
+$(OBJDIR)\winprefsyacc.c $(OBJDIR)\winprefsyacc.h: winprefsyacc.y
+ bison -d -o$(OBJDIR)\winprefsyacc.c $<