#!/bin/sh
set -x
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/dag.c >dag.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/decl.c >decl.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/enode.c >enode.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/error.c >error.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/expr.c >expr.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/init.c >init.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/input.c >input.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/lex.c >lex.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/main.c >main.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/output.c >output.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/profio.c >profio.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/simp.c >simp.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/stmt.c >stmt.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/string.c >string.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/sym.c >sym.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/tree.c >tree.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE -Dt8_linux -I../../../lib/include -I.. -I../../c ../../c/types.c >types.i)
(cd t8-linux; lcc -E -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D_MINIX -D_POSIX_SOURCE            -I../../../lib/include -I.. -I../../c ../gen.c >gen.i)
