mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
[makerom/ctrtool] Updated usage text. (now with build datestamp)
This commit is contained in:
+3
-2
@@ -38,9 +38,10 @@ typedef struct
|
||||
static void usage(const char *argv0)
|
||||
{
|
||||
fprintf(stderr,
|
||||
"Usage: %s [options...] <file>\n"
|
||||
"CTRTOOL (c) neimod, 3DSGuy.\n"
|
||||
"Built: %s %s\n"
|
||||
"\n"
|
||||
"Usage: %s [options...] <file>\n"
|
||||
"Options:\n"
|
||||
" -i, --info Show file info.\n"
|
||||
" This is the default action.\n"
|
||||
@@ -86,7 +87,7 @@ static void usage(const char *argv0)
|
||||
" --romfsdir=dir Specify RomFS directory path.\n"
|
||||
" --listromfs List files in RomFS.\n"
|
||||
"\n",
|
||||
argv0);
|
||||
__TIME__, __DATE__, argv0);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
+4
-5
@@ -5,13 +5,12 @@ OBJS = $(foreach dir,$(SRC_DIR),$(subst .c,.o,$(wildcard $(dir)/*.c)))
|
||||
# Compiler Settings
|
||||
LIBS = -static-libgcc
|
||||
CXXFLAGS = -I.
|
||||
CFLAGS = --std=c99 -Wall -O2 -flto -static -Wno-unused-but-set-variable -Wno-unused-value -I. -DMAKEROM_VER_MAJOR=$(VER_MAJOR) -DMAKEROM_VER_MINOR=$(VER_MINOR) $(MAKEROM_BUILD_FLAGS) -m64
|
||||
CFLAGS = --std=c99 -O2 -flto -Wall -Wno-unused-but-set-variable -Wno-unused-value -I. $(MAKEROM_BUILD_FLAGS)
|
||||
CC = gcc
|
||||
|
||||
CXX = g++
|
||||
|
||||
# MAKEROM Build Settings
|
||||
MAKEROM_BUILD_FLAGS = #-DDEBUG
|
||||
VER_MAJOR = 0
|
||||
VER_MINOR = 14
|
||||
OUTPUT = makerom
|
||||
|
||||
main: build
|
||||
@@ -19,7 +18,7 @@ main: build
|
||||
rebuild: clean build
|
||||
|
||||
build: $(OBJS)
|
||||
g++ -o $(OUTPUT) $(LIBS) $(OBJS) -m64
|
||||
$(CXX) -o $(OUTPUT) $(LIBS) $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -rf $(OUTPUT) $(OBJS) *.cci *.cia *.cxi *.cfa
|
||||
|
||||
+375
-350
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user