diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-03-30 01:00:30 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-03-30 01:00:30 +0000 |
commit | 22d3f2ad2d150ba3a967ccbeca52642e9305ce84 (patch) | |
tree | 01dce1eb65fd7ab5d46d7b0dfdd055537acc1631 /build | |
parent | 5fa534f56f823e0d5fa75fbd75f67087382a424d (diff) | |
download | flac-22d3f2ad2d150ba3a967ccbeca52642e9305ce84.tar.gz |
add debug info to nasm debug builds
Diffstat (limited to 'build')
-rw-r--r-- | build/exe.mk | 4 | ||||
-rw-r--r-- | build/lib.mk | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/build/exe.mk b/build/exe.mk index 9c5f93f6..c13b2d59 100644 --- a/build/exe.mk +++ b/build/exe.mk @@ -83,7 +83,9 @@ endif %.debug.i %.release.i : %.cpp $(CCC) $(CFLAGS) -E $< -o $@ -%.debug.o %.release.o : %.nasm +%.debug.o : %.nasm + $(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@ +%.release.o : %.nasm $(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@ .PHONY : clean diff --git a/build/lib.mk b/build/lib.mk index 981fc34b..edc01db5 100644 --- a/build/lib.mk +++ b/build/lib.mk @@ -110,7 +110,9 @@ else $(AS) $< -o $@ endif -%.debug.o %.release.o : %.nasm +%.debug.o : %.nasm + $(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@ +%.release.o : %.nasm $(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@ .PHONY : clean |