structured some files into appropriate directories
This commit is contained in:
parent
88473a8dd9
commit
69abcebf72
6
Makefile
6
Makefile
@ -9,7 +9,7 @@ HEADERNAME = header
|
|||||||
|
|
||||||
LINK_FLAGS = -O1 -L$(ROOTDIR)/lib -L$(ROOTDIR)/mips64-elf/lib -ldragon -lmikmod -lmad -lyaml -lc -lm -ldragonsys -lnosys $(LIBS) -Tn64ld.x
|
LINK_FLAGS = -O1 -L$(ROOTDIR)/lib -L$(ROOTDIR)/mips64-elf/lib -ldragon -lmikmod -lmad -lyaml -lc -lm -ldragonsys -lnosys $(LIBS) -Tn64ld.x
|
||||||
PROG_NAME = menu
|
PROG_NAME = menu
|
||||||
CFLAGS = -std=gnu99 -march=vr4300 -mtune=vr4300 -O1 -I$(ROOTDIR)/include -I$(ROOTDIR)/mips64-elf/include -lpthread -lrt -D_REENTRANT -DUSE_TRUETYPE
|
CFLAGS = -std=gnu99 -march=vr4300 -mtune=vr4300 -O1 -I./inc -I$(ROOTDIR)/include -I$(ROOTDIR)/mips64-elf/include -lpthread -lrt -D_REENTRANT -DUSE_TRUETYPE
|
||||||
ASFLAGS = -mtune=vr4300 -march=vr4300
|
ASFLAGS = -mtune=vr4300 -march=vr4300
|
||||||
CC = $(GCCN64PREFIX)gcc
|
CC = $(GCCN64PREFIX)gcc
|
||||||
AS = $(GCCN64PREFIX)as
|
AS = $(GCCN64PREFIX)as
|
||||||
@ -20,7 +20,7 @@ OBJS = $(PROG_NAME).o everdrive.o fat.o disk.o mem.o sys.o ini.o strlib.o utils.
|
|||||||
$(PROG_NAME).v64: $(PROG_NAME).elf test.dfs
|
$(PROG_NAME).v64: $(PROG_NAME).elf test.dfs
|
||||||
$(OBJCOPY) $(PROG_NAME).elf $(PROG_NAME).bin -O binary
|
$(OBJCOPY) $(PROG_NAME).elf $(PROG_NAME).bin -O binary
|
||||||
rm -f OS64.v64
|
rm -f OS64.v64
|
||||||
$(N64TOOL) -l 4M -t "EverDrive OS" -h ./header.ed64 -o OS64.v64 $(PROG_NAME).bin -s 1M test.dfs
|
$(N64TOOL) -l 4M -t "EverDrive OS" -h ./res/header.ed64 -o OS64.v64 $(PROG_NAME).bin -s 1M test.dfs
|
||||||
$(CHKSUM64PATH) OS64.v64
|
$(CHKSUM64PATH) OS64.v64
|
||||||
|
|
||||||
$(PROG_NAME).elf : $(OBJS)
|
$(PROG_NAME).elf : $(OBJS)
|
||||||
@ -30,7 +30,7 @@ copy: $(PROG_NAME).v64
|
|||||||
sh upload.sh
|
sh upload.sh
|
||||||
|
|
||||||
test.dfs:
|
test.dfs:
|
||||||
$(MKDFSPATH) test.dfs ./filesystem/
|
$(MKDFSPATH) test.dfs ./res/filesystem/
|
||||||
|
|
||||||
all: $(PROG_NAME).v64
|
all: $(PROG_NAME).v64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user