Update Makefile

This commit is contained in:
Gregory Lirent 2022-06-03 12:19:40 +03:00
parent ebd3e1eead
commit ee6f3d3715
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ RMRF = rm -rf
AR = ar crs
CP = cp
$(DEBUG_PATH)/obj/%.o: CFLAGS := $(CFLAGS) -DDEBUG -Og -fPIC -c -g3 -Wall
$(DEBUG_PATH)/obj/%.o: CFLAGS := $(CFLAGS) -DDEBUG -O0 -fPIC -c -g3 -Wall
$(RELEASE_PATH)/obj/%.o: CFLAGS := $(CFLAGS) -DNDEBUG -O2 -fPIC -c
########################################################################################################################
@ -91,7 +91,7 @@ clean:
cd ./modules/libunic && $(MAKE) clean
%.a:
$(AR) $@ $^
$(AR) $@ $?
########################################################################################################################