|
makefile:
CC = gcc
CFLAGS = -O2
all: mpeg2decode mpeg2encode
mpeg2decode:
cd src/mpeg2dec; make 'CC=$(CC)' \
'CFLAGS=$(CFLAGS) $(USE_DISP) $(USE_SHMEM) $(INCLUDEDIR)' \
'LIBS=$(LIBS)' 'LIBRARYDIR=$(LIBRARYDIR)'
mpeg2encode:
cd src/mpeg2enc; make 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
pc:
cd src/mpeg2dec; make pc 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
cd src/mpeg2enc; make pc 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
clean:
cd src/mpeg2dec; make clean
cd src/mpeg2enc; make clean
test:
cd verify; ./verify
程序编写完成之后,能够生成可执行文件,但不知道如何调试,那位老大能说明一下,并指示一下能不能改makefile?
我在调试的时候老是说明can‘t read symbols ,,,,,,怎么办啊? |
|