From c002a3759f837a569c1c47241923fd03087f0ce7 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 6 Aug 2010 13:32:29 +0000 Subject: Avoid needless rebuild when switching between debug and release build --- xorg-server/hw/xwin/makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'xorg-server/hw/xwin') 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 $< -- cgit v1.2.3