diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-08 08:17:54 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-08 08:17:54 +0200 |
commit | 4b6506cb576afcf6e67adb63cbdc2843ab11a2ef (patch) | |
tree | 97e05bb42f021052c6bf1ca9e94fd1110d66cc5e /sys/src/ape/lib/ap/spim | |
parent | ebe88f34cb1823dd2d8f0f7428ce69c7a983397a (diff) |
ape: fix build for objtype=spim
Diffstat (limited to 'sys/src/ape/lib/ap/spim')
-rw-r--r-- | sys/src/ape/lib/ap/spim/mkfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/src/ape/lib/ap/spim/mkfile b/sys/src/ape/lib/ap/spim/mkfile new file mode 100644 index 000000000..8fe8ae32e --- /dev/null +++ b/sys/src/ape/lib/ap/spim/mkfile @@ -0,0 +1,32 @@ +APE=/sys/src/ape +<$APE/config +LIB=/$objtype/lib/ape/libap.a +OFILES=\ + cycles.$O\ + getfcr.$O\ + lock.$O\ + main9.$O\ + main9p.$O\ + memchr.$O\ + memcmp.$O\ + memmove.$O\ + memset.$O\ + notetramp.$O\ + setjmp.$O\ + strchr.$O\ + strcmp.$O\ + strcpy.$O\ + tas.$O\ + vlop.$O\ + vlrt.$O\ + +%.$O: ../mips/%.c + $CC -I../mips $CFLAGS ../mips/$stem.c + +%.$O: ../mips/%.s + $AS -I../mips $AFLAGS ../mips/$stem.s + +</sys/src/cmd/mksyslib + +CFLAGS=-c -D_POSIX_SOURCE -D_PLAN9_SOURCE + |