You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
256 B
Makefile
19 lines
256 B
Makefile
15 years ago
|
ifndef CROSS_COMPILE
|
||
|
CROSS_COMPILE=powerpc-elf-
|
||
|
endif
|
||
|
|
||
|
OBJECTS=start.o promlib.o platform.o platio.o
|
||
|
|
||
|
INCLUDE=-I../../include
|
||
|
|
||
|
all: ${OBJECTS}
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) ${CFLAGS} ${INCLUDE} -c $<
|
||
|
|
||
|
.S.o:
|
||
|
$(CC) ${CFLAGS} ${INCLUDE} ${ASFLAGS} -c $<
|
||
|
|
||
|
clean:
|
||
|
-rm -f *.o
|