Lines 276-289
$(PROG) : $(INTERMEDIATES) $(MISC) $(OBJECTS)
Link Here
|
276 |
aslcompilerlex.c : $(ASL_COMPILER)/aslcompiler.l |
276 |
aslcompilerlex.c : $(ASL_COMPILER)/aslcompiler.l |
277 |
${LEX} ${LFLAGS} -PAslCompiler -o$@ $? |
277 |
${LEX} ${LFLAGS} -PAslCompiler -o$@ $? |
278 |
|
278 |
|
279 |
aslcompilerparse.c aslcompilerparse.h : $(ASL_COMPILER)/aslcompiler.y |
279 |
aslcompilerparse.c aslcompilerparse.h aslcompilerparse.output : $(ASL_COMPILER)/aslcompiler.y |
280 |
${YACC} ${YFLAGS} -pAslCompiler -o$@ $? |
280 |
${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c $? |
281 |
|
281 |
|
282 |
dtparserlex.c : $(ASL_COMPILER)/dtparser.l |
282 |
dtparserlex.c : $(ASL_COMPILER)/dtparser.l |
283 |
${LEX} ${LFLAGS} -PDtParser -o$@ $? |
283 |
${LEX} ${LFLAGS} -PDtParser -o$@ $? |
284 |
|
284 |
|
285 |
dtparserparse.c dtparserparse.h : $(ASL_COMPILER)/dtparser.y |
285 |
dtparserparse.c dtparserparse.h dtparserparse.output : $(ASL_COMPILER)/dtparser.y |
286 |
${YACC} ${YFLAGS} -pDtParser -o$@ $? |
286 |
${YACC} ${YFLAGS} -pDtParser -odtparserparse.c $? |
287 |
|
287 |
|
288 |
# Rename headers produced by bison/yacc |
288 |
# Rename headers produced by bison/yacc |
289 |
|
289 |
|
Lines 302-315
aslcompiler.y.h : aslcompilerparse.h
Link Here
|
302 |
# Cannot use the common compile warning flags since the C files are created |
302 |
# Cannot use the common compile warning flags since the C files are created |
303 |
# by the utilities above and they are not necessarily ANSI C, etc. |
303 |
# by the utilities above and they are not necessarily ANSI C, etc. |
304 |
# |
304 |
# |
305 |
aslcompilerlex.o : aslcompilerlex.c |
305 |
aslcompilerlex.o : aslcompilerlex.c aslcompilerparse.h |
306 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $? |
306 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $< |
307 |
|
307 |
|
308 |
aslcompilerparse.o : aslcompilerparse.c |
308 |
aslcompilerparse.o : aslcompilerparse.c |
309 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $? |
309 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $? |
310 |
|
310 |
|
311 |
dtparserlex.o : dtparserlex.c |
311 |
dtparserlex.o : dtparserlex.c dtparserparse.h |
312 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $? |
312 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $< |
313 |
|
313 |
|
314 |
dtparserparse.o : dtparserparse.c |
314 |
dtparserparse.o : dtparserparse.c |
315 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $? |
315 |
$(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $? |
316 |
- |
|
|