fix(utils): добавил флаг отладки в Makefile
This commit is contained in:
@ -1,14 +1,14 @@
|
|||||||
ASM = nasm
|
ASM = nasm
|
||||||
CXX = gcc
|
CXX = gcc
|
||||||
CXX_FLAGS = -Os -static
|
CXX_FLAGS = -Og -static
|
||||||
ASM_FLAGS = -felf64 -g
|
ASM_FLAGS = -felf64 -g
|
||||||
LINK = ld
|
LINK = ld
|
||||||
|
|
||||||
task3: task3_c.o task3.o
|
task3: task3_c.o task3.o
|
||||||
$(CXX) -Os $^ -o $@
|
$(CXX) -Og $^ -o $@ -g
|
||||||
|
|
||||||
task3_c.o: task3.c
|
task3_c.o: task3.c
|
||||||
$(CXX) -Os -c $^ -o $@
|
$(CXX) -Og -c $^ -o $@ -g
|
||||||
|
|
||||||
task2: task2.o
|
task2: task2.o
|
||||||
$(CXX) $(CXX_FLAGS) $^ -o $@
|
$(CXX) $(CXX_FLAGS) $^ -o $@
|
||||||
|
|||||||
Reference in New Issue
Block a user