use full path on command line when compiling,

so that gdb shows full path in stack traces.

R=r
DELTA=4  (4 added, 0 deleted, 0 changed)
OCL=32522
CL=32528
This commit is contained in:
Russ Cox 2009-07-30 12:54:38 -07:00
parent 517e3457cc
commit 6ccebe082f
1 changed files with 4 additions and 0 deletions

View File

@ -11,3 +11,7 @@ YFLAGS=-d
ifndef GOBIN
GOBIN=$(HOME)/bin
endif
PWD=$(shell pwd)
%.$O: %.c
$(CC) $(CFLAGS) -c $(PWD)/$*.c