this fixes the problem with NASM invocation in make

svn path=/trunk/; revision=46
This commit is contained in:
Rex Jolliff 1998-09-20 02:19:42 +00:00
parent 7967ac94a2
commit 9a55f0f7ed

View file

@ -47,7 +47,7 @@ CC = $(PREFIX)gcc
NATIVE_CC = gcc NATIVE_CC = gcc
CFLAGS = -O2 -I../../../include -I../../include -I../include -fno-builtin $(DEFINES) -Wall -Wstrict-prototypes CFLAGS = -O2 -I../../../include -I../../include -I../include -fno-builtin $(DEFINES) -Wall -Wstrict-prototypes
CXXFLAGS = $(CFLAGS) CXXFLAGS = $(CFLAGS)
NASM = nasm ASM = nasm
NFLAGS = -i../include/ -f$(NASM_FORMAT) NFLAGS = -i../include/ -f$(NASM_FORMAT)
LD = $(PREFIX)ld LD = $(PREFIX)ld
NM = $(PREFIX)nm NM = $(PREFIX)nm
@ -59,7 +59,7 @@ CPP = $(PREFIX)cpp
%.o: %.cc %.o: %.cc
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@
%.o: %.asm %.o: %.asm
$(NASM) $(NFLAGS) $< -o $@ $(ASM) $(NFLAGS) $< -o $@
RULES_MAK_INCLUDED = 1 RULES_MAK_INCLUDED = 1