Move fs_dev.c from libcoreinit to libcrt

This commit is contained in:
James Benton 2016-08-25 12:28:06 +01:00
parent 266bf899fb
commit ad30b83afd
3 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,7 @@ endif
TARGETS := tools crt rpl
DESTDIR ?= $(CURDIR)
INSTALLDIR := $(shell cd ${DESTDIR} ; pwd)
INSTALLDIR := $(DESTDIR)
export WUT_ROOT
export INSTALLDIR
@ -21,8 +21,6 @@ all:
done
clean:
@rm -rf lib
@rm -rf bin
@for dir in $(TARGETS); do \
echo; \
echo Cleaning $$dir; \
@ -31,7 +29,7 @@ clean:
install:
@mkdir -p $(INSTALLDIR)
@cp -r include $(INSTALLDIR)
@cp -r include $(INSTALLDIR) || :
@for dir in $(TARGETS); do \
echo; \
echo Installing $$dir; \

View File

@ -15,6 +15,10 @@ install: all
@mkdir -p $(INSTALLDIR)/lib
@cp -f *.a $(INSTALLDIR)/lib
%.o: %.c
@echo "[CC] $(notdir $<)"
@$(CC) $(CFLAGS) -c $< -o $@
%.o: %.S
@echo "[CC] $(notdir $<)"
@$(CC) $(CFLAGS) -c $< -o $@