Makefile revision 7980:4a735b172989
1955SN/A#Makefile for palcode 2955SN/A#Works on alpha-linux and builds elf executable 39812Sandreas.hansson@arm.com 49812Sandreas.hansson@arm.com#19 December 2003 - Ali Saidi 59812Sandreas.hansson@arm.com 69812Sandreas.hansson@arm.comGAS = as 79812Sandreas.hansson@arm.comCC = g++ 89812Sandreas.hansson@arm.comLD = ld 99812Sandreas.hansson@arm.com#CFLAGS=-I ../h -E -P -D SIMOS -nostdinc -nostdinc++ -x c++ 109812Sandreas.hansson@arm.comCFLAGS=-I . -E -P -D SIMOS -D BUILD_PALCODE -nostdinc -nostdinc++ -x c++ 119812Sandreas.hansson@arm.comGASFLAGS=-m21164 129812Sandreas.hansson@arm.comLDFLAGS=-Ttext 0x4000 139812Sandreas.hansson@arm.com 149812Sandreas.hansson@arm.comSOURCES=platform_tlaser.s osfpal.s 157816Ssteve.reinhardt@amd.comPREPROC := $(SOURCES:.s=.i) 165871Snate@binkert.orgOBJS := $(SOURCES:.s=.o) 171762SN/A 18955SN/A%.i: %.s 19955SN/A $(CC) $(CFLAGS) $< > $@ 20955SN/A 21955SN/A%.o: %.i 22955SN/A $(GAS) $(GASFLAGS) -o $@ $< 23955SN/A 24955SN/A 25955SN/Aall: $(PREPROC) $(OBJS) 26955SN/A ld $(LDFLAGS) -o osfpal $(OBJS) 27955SN/A 28955SN/Aclean: 29955SN/A rm -f *.o *.i osfpal 30955SN/A