From 339eef5976198b2ce2a490c9ebcada75444034bc Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 23 Jul 2009 22:03:57 +0000 Subject: [PATCH] build process generating assembly list files for .asm sources; ignoring .lst files in /kernel/boot git-svn-id: svn://anubis/hos/trunk@63 5b3e749e-e535-0410-8002-a9bb6afbdfca --- kernel/subdir.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/subdir.mak b/kernel/subdir.mak index 5e9b8d2..78b78df 100644 --- a/kernel/subdir.mak +++ b/kernel/subdir.mak @@ -17,7 +17,7 @@ $(OUTPUT_FILE): $(ASMOBJS) $(COBJS) $(CXXOBJS) $(SUBDIRS) $(LD) -r -o $@ $(ASMOBJS) $(COBJS) $(CXXOBJS) $(foreach subdir,$(SUBDIRS),$(subdir)/$(subdir)_all.o) %.o: %.asm - $(NASM) -f elf -o $@ $< + $(NASM) -f elf -o $@ -l $<.lst $< %.o: %.c $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $< @@ -41,7 +41,7 @@ endif $(CXX) -MM $(CPPFLAGS) $< | sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' > $@ clean: $(SUBDIRS_clean) - -rm -f *.o *.dep *~ + -rm -f *.o *.dep *.lst *~ ifdef SUBDIRS %.clean: