Lines Matching refs:OUTDIR
4 OUTDIR ?= ./ macro
12 GENHDRS= $(addprefix ${OUTDIR}/,aicdb.h $(YSRCS:.y=.h))
13 GENSRCS= $(addprefix ${OUTDIR}/,$(YSRCS:.y=.c) $(LSRCS:.l=.c))
19 AICASM_CFLAGS:= -I/usr/include -I. -I$(OUTDIR)
38 $(PROG): $(OUTDIR) ${GENHDRS} $(SRCS)
39 $(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(OUTDIR)/$(PROG) $(LIBS)
41 $(OUTDIR):
42 mkdir -p $(OUTDIR)
44 $(OUTDIR)/aicdb.h:
64 $(OUTDIR)/aicasm_gram.c $(OUTDIR)/aicasm_gram.h: aicasm_gram.y
65 $(YACC) $(YFLAGS) -b $(<:.y=) $< -o $(OUTDIR)/$(<:.y=.c)
67 $(OUTDIR)/aicasm_macro_gram.c $(OUTDIR)/aicasm_macro_gram.h: aicasm_macro_gram.y
68 $(YACC) $(YFLAGS) -b $(<:.y=) -p mm $< -o $(OUTDIR)/$(<:.y=.c)
70 $(OUTDIR)/aicasm_scan.c: aicasm_scan.l
73 $(OUTDIR)/aicasm_macro_scan.c: aicasm_macro_scan.l