aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-06 13:32:29 +0000
committermarha <marha@users.sourceforge.net>2010-08-06 13:32:29 +0000
commitc002a3759f837a569c1c47241923fd03087f0ce7 (patch)
treec556029f9d13db00b42dc9da0d37920c3d04c449 /xorg-server
parent85e6939883df4d5e3d414c4c5b2e81a92bf5f030 (diff)
downloadvcxsrv-c002a3759f837a569c1c47241923fd03087f0ce7.tar.gz
vcxsrv-c002a3759f837a569c1c47241923fd03087f0ce7.tar.bz2
vcxsrv-c002a3759f837a569c1c47241923fd03087f0ce7.zip
Avoid needless rebuild when switching between debug and release build
Diffstat (limited to 'xorg-server')
-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 $<