summaryrefslogtreecommitdiff
path: root/solenv/inc/tg_yxx.mk
blob: eb6380a131212ebbcbca0c1b7e14f329e2cc1e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

.IF "$(YACCTARGET)"!=""
$(YACCTARGET): $(YACCFILES)
    @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