Skip to content

Commit

Permalink
update lightrec makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
xjsxjs197 committed Nov 12, 2023
1 parent c55b3a8 commit 976025a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions deps/lightrec/Makefile.NoLog
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ $(LIB_DIR)/libLightrecNoLog.a: $(LIGHRREC_OBJS)
@echo ----

# Compilation flags.
COMMON_FLAGS := -g -O3 -w -Wno-parentheses $(MACHDEP) -mhard-float -mmultiple
COMMON_FLAGS := -g -O3 -w -Wno-parentheses $(MACHDEP)
INCLUDES := -Iinclude -I$(LIBOGC_INC)
DEFINES := -DGEKKO
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(INCLUDE) $(DEFINES) -ffast-math --pedantic -D__BIG_ENDIAN -D__powerpc__ -DBIG_ENDIAN -DLOG_LEVEL=0
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(INCLUDE) $(DEFINES)--pedantic -D__BIG_ENDIAN -D__powerpc__ -DBIG_ENDIAN -DLOG_LEVEL=0

# Test link flags.
LDFLAGS := $(COMMON_FLAGS) -L$(LIB_DIR) -L$(LIBOGC_LIB) $(PORTLIBS_PATH)/wii/lib -lfat -logc -llightning
LDFLAGS := $(COMMON_FLAGS) -L$(LIB_DIR) -L$(LIBOGC_LIB) $(PORTLIBS_PATH)/wii/lib -llightning

# How to compile C file (SDL library).
$(LIGHTREC_OBJ_DIR)/%.o: $(LIGHTREC_SRC_DIR)/%.c
Expand Down
6 changes: 3 additions & 3 deletions deps/lightrec/Makefile.WithLog
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ $(LIB_DIR)/libLightrecWithLog.a: $(LIGHRREC_OBJS)
@echo ----

# Compilation flags.
COMMON_FLAGS := -g -O3 -w -Wno-parentheses $(MACHDEP) -mhard-float -mmultiple
COMMON_FLAGS := -g -O3 -w -Wno-parentheses $(MACHDEP)
INCLUDES := -Iinclude -I$(LIBOGC_INC)
DEFINES := -DGEKKO
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(INCLUDE) $(DEFINES) -ffast-math --pedantic -D__BIG_ENDIAN -D__powerpc__ -DBIG_ENDIAN -DLOG_LEVEL=3
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(INCLUDE) $(DEFINES)--pedantic -D__BIG_ENDIAN -D__powerpc__ -DBIG_ENDIAN -DLOG_LEVEL=3

# Test link flags.
LDFLAGS := $(COMMON_FLAGS) -L$(LIB_DIR) -L$(LIBOGC_LIB) $(PORTLIBS_PATH)/wii/lib -lfat -logc -llightning
LDFLAGS := $(COMMON_FLAGS) -L$(LIB_DIR) -L$(LIBOGC_LIB) $(PORTLIBS_PATH)/wii/lib -llightning

# How to compile C file (SDL library).
$(LIGHTREC_OBJ_DIR)/%.o: $(LIGHTREC_SRC_DIR)/%.c
Expand Down

0 comments on commit 976025a

Please sign in to comment.