From: H. Peter Anvin Date: Fri, 10 May 2002 19:51:48 +0000 (+0000) Subject: Handle the "output" directory correctly (patch from John Coffman.) X-Git-Tag: nasm-2.11.05~2460 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=918af68255e733415366315b0e4c8180d1862c6e;p=platform%2Fupstream%2Fnasm.git Handle the "output" directory correctly (patch from John Coffman.) --- 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