head     1.1;
branch   1.1.1;
access   ;
symbols  arelease:1.1.1.1 avendor:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2008.01.13.13.32.16;  author ameziti;  state Exp;
branches 1.1.1.1;
next     ;
commitid        e69478a0fbc4567;

1.1.1.1
date     2008.01.13.13.32.16;  author ameziti;  state Exp;
branches ;
next     ;
commitid        e69478a0fbc4567;


desc
@@



1.1
log
@Initial revision
@
text
@PATH=C:\dev\Soc\Mips\Soft\gccmips_elf
CCPATH=C:/dev/Soc/Mips/Soft/gccmips_elf/
PATHINC=../../inc
PATHLIB=./
PATHSRC=src

#CC=$(CCPATH)gcc
#LD=$(CCPATH)ld
#AS=$(CCPATH)as

CC=gcc
LD=ld
AS=as

SOURCEC=$(wildcard *.c)
OBJ= $(SOURCEC:.c=.o)
#OBJ= $(wildcard *.o)
SOURCEA=$(wildcard *.s)
OAS=$(SOURCEA:.s=.o)

CFLAGS= -O2 -O  -Wall -c -s	-I$(PATHINC)
LDFLAGS= -Ttext 0 -eentry -Map test.map -s -N -o 

EXEC=compile assemble

all: $(EXEC)

link: $(OBJ)
	$(LD) $(LDFLAGS)  $^ -L$(PATHLIB)
	
compile: $(SOURCEC)
	$(CC) $(CFLAGS) $^

assemble: $(SOURCEA)
	$(AS) -o boot.o boot.s
	$(AS) -o plasmaboot.o plasmaboot.s@


1.1.1.1
log
@First Import the project on the opencores.org CVS server
@
text
@@
