# # 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