зеркало из https://github.com/mozilla/gecko-dev.git
Added debug flags
This commit is contained in:
Родитель
2f75cbc832
Коммит
2b2ab50498
|
@ -1,5 +1,5 @@
|
|||
CC = gcc
|
||||
CFLAGS = -O -DDEBUG -DXP_UNIX -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes \
|
||||
CFLAGS = -O -ggdb -DDEBUG -DXP_UNIX -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wno-non-virtual-dtor
|
||||
|
||||
objs = hash.o \
|
||||
|
@ -16,7 +16,7 @@ libs = -lstdc++
|
|||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
js2: $(objs)
|
||||
$(CC) -o $@ $^ $(libs)
|
||||
$(CC) -o $@ -ggdb $^ $(libs)
|
||||
|
||||
clean:
|
||||
rm -f $(objs)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
CC = gcc
|
||||
CFLAGS = -O -DDEBUG -DXP_UNIX -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes \
|
||||
CFLAGS = -O -ggdb -DDEBUG -DXP_UNIX -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wno-non-virtual-dtor
|
||||
|
||||
objs = hash.o \
|
||||
|
@ -16,7 +16,7 @@ libs = -lstdc++
|
|||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
js2: $(objs)
|
||||
$(CC) -o $@ $^ $(libs)
|
||||
$(CC) -o $@ -ggdb $^ $(libs)
|
||||
|
||||
clean:
|
||||
rm -f $(objs)
|
||||
|
|
Загрузка…
Ссылка в новой задаче