From 918af68255e733415366315b0e4c8180d1862c6e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 10 May 2002 19:51:48 +0000 Subject: [PATCH] Handle the "output" directory correctly (patch from John Coffman.) --- Mkfiles/Makefile.dj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mkfiles/Makefile.dj b/Mkfiles/Makefile.dj index 40a5bc8..d46b3b6 100644 --- a/Mkfiles/Makefile.dj +++ b/Mkfiles/Makefile.dj @@ -19,7 +19,7 @@ CFLAGS = -O2 -I. # You _shouldn't_ need to adjust anything below this line. .c.o: - $(CC) -c $(CFLAGS) $*.c + $(CC) -c $(CFLAGS) -o $@ $*.c NASM = nasm.o nasmlib.o float.o insnsa.o assemble.o labels.o \ parser.o outform.o output/outbin.o output/outaout.o output/outcoff.o output/outelf.o \ @@ -92,5 +92,5 @@ macros.c: macros.pl standard.mac version.mac perl macros.pl standard.mac version.mac clean: - rm -f *.o nasm ndisasm + rm -f *.o *.exe output/*.o -- 2.7.4