diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2002-04-30 14:52:06 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2002-04-30 14:52:06 +0000 |
commit | f58dc586670253878ced14d7982e6a43ac910230 (patch) | |
tree | 52243b065a691459f6aafe39c35dfc4eeb87e435 /solenv/inc/tg_yxx.mk | |
parent | d7d374fc84e8102fd1f1f57f7726610efe7d2951 (diff) |
one more rule - generate to inc
Diffstat (limited to 'solenv/inc/tg_yxx.mk')
-rw-r--r-- | solenv/inc/tg_yxx.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/inc/tg_yxx.mk b/solenv/inc/tg_yxx.mk index 75bf0f9fb0a5..11118a24a6de 100644 --- a/solenv/inc/tg_yxx.mk +++ b/solenv/inc/tg_yxx.mk @@ -8,5 +8,14 @@ $(MISC)$/%.cxx : %.y @+-$(COPY:s/-f//) $@.h $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) @+-$(COPY:s/-f//) $(@:d)$/$(@:b).hxx $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) +$(TYPE) $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) + +$(INCCOM)$/yy%.cxx : %.y + @echo ------------------------------ + @echo Making: $@ + $(BISON) $(YACCFLAGS) $(YACCTARGET) $(YACCFILES) +# removing -f switch - avoid getting nothing when copying a file to itself + @+-$(COPY:s/-f//) $@.h $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) + @+-$(COPY:s/-f//) $(@:d)$/$(@:b).hxx $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) + +$(TYPE) $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) .ENDIF |