mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
Move fs_dev.c from libcoreinit to libcrt
This commit is contained in:
parent
266bf899fb
commit
ad30b83afd
6
Makefile
6
Makefile
@ -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; \
|
||||
|
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user