Handle the "output" directory correctly (patch from John Coffman.)
This commit is contained in:
parent
effc271151
commit
918af68255
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue