You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
479 B
23 lines
479 B
#
|
|
# Makefile to build smpfork.c
|
|
#
|
|
|
|
#CROSS_COMPILE =powerpc-linux-
|
|
|
|
#
|
|
# Include the make variables (CC, etc...)
|
|
#
|
|
|
|
AS = $(CROSS_COMPILE)as
|
|
LD = $(CROSS_COMPILE)ld
|
|
CC = $(CROSS_COMPILE)gcc
|
|
CPP = $(CC) -E
|
|
AR = $(CROSS_COMPILE)ar
|
|
NM = $(CROSS_COMPILE)nm
|
|
STRIP = $(CROSS_COMPILE)strip
|
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
|
OBJDUMP = $(CROSS_COMPILE)objdump
|
|
SIZE = $(CROSS_COMPILE)size
|
|
|
|
smpfork: smpfork.c
|
|
${CC} -O2 -Ttext=0x00400000 -N -o smpfork smpfork.c -nostdlib -e main
|
|
|