diff options
Diffstat (limited to 'lib/crt/Makefile')
-rw-r--r-- | lib/crt/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/crt/Makefile b/lib/crt/Makefile new file mode 100644 index 0000000..8b809fa --- /dev/null +++ b/lib/crt/Makefile @@ -0,0 +1,8 @@ +SFILES := $(wildcard $(TARGET_MACHINE)/*.s) +OFILES := $(patsubst %.s,%.o,$(SFILES)) + +all: ${OFILES} + cp ${OFILES} $(LIBDIR)/ + +%.o:%.s + $(AS) $< -o $@ |