From 406775e8dc8c1d8f56915818f6da055f33edf4ca Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Wed, 23 Oct 2013 15:46:57 +0900 Subject: [PATCH] add -g option to the build command line --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1602b6b0..a50c5cbc 100644 --- a/Makefile +++ b/Makefile @@ -5,13 +5,13 @@ all: build run build: build-lib build-main build-main: - $(CC) -Wall -o bin/picrin -I./include -L./lib -lpicrin -lreadline tools/main.c + $(CC) -Wall -g -o bin/picrin -I./include -L./lib -lpicrin -lreadline tools/main.c build-lib: cd src; \ yacc -d parse.y; \ lex scan.l - $(CC) -Wall -shared -o lib/libpicrin.so -I./include -I./extlib src/*.c + $(CC) -Wall -g -shared -o lib/libpicrin.so -I./include -I./extlib src/*.c clean: rm -f src/y.tab.c src/y.tab.h src/lex.yy.c