diff options
-rw-r--r-- | xorg-server/hw/xwin/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/makefile b/xorg-server/hw/xwin/makefile index 6968c917b..b45f2744c 100644 --- a/xorg-server/hw/xwin/makefile +++ b/xorg-server/hw/xwin/makefile @@ -168,5 +168,7 @@ AM_LFLAGS = -i $(OBJDIR)\winprefslex.c: winprefslex.l $(OBJDIR)\winprefsyacc.h flex $(AM_LFLAGS) -o$@ $< +$(OBJDIR)\winprefsyacc.c : $(OBJDIR)\winprefsyacc.h # this is to avoid building at the same time of winprefsyacc.obj and winprefsyacc.h, this will give error during generation of winprefsyacc.h because winprefsyacc.c is locked + $(OBJDIR)\winprefsyacc.c $(OBJDIR)\winprefsyacc.h: winprefsyacc.y bison $(AM_YFLAGS) -o$(OBJDIR)\winprefsyacc.c $< |