Implement Breakpoints
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,11 +1,14 @@
|
||||
CC=gcc
|
||||
CFLAGS=-MD -MP -I./mujs
|
||||
CFLAGS=-MD -MP -ggdb -I./mujs
|
||||
LDFLAGS=-lm
|
||||
SRCS=debugus.c linenoise.c
|
||||
SRCS=debugus.c linenoise.c hash.c
|
||||
OBJS=$(patsubst %.c,%.o,$(SRCS))
|
||||
DEPS=$(patsubst %.c,%.d,$(SRCS))
|
||||
|
||||
all: debugus
|
||||
all: debugus test
|
||||
|
||||
test: test.o
|
||||
$(CC) -o $@ $^
|
||||
|
||||
debugus: $(OBJS) ./mujs/build/debug/libmujs.o
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user