source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/sh2/Makefile.config@ 363

Last change on this file since 363 was 363, checked in by ykominami, 5 years ago

add tags/jsp-1.4.4-full-UTF8

  • Property svn:executable set to *
File size: 847 bytes
Line 
1#
2# @(#) $Id: Makefile.config,v 1.5 2005/07/06 00:45:07 honda Exp $
3#
4
5#
6# Makefile のプロセッサ依存部(SH1/2用)
7#
8
9#
10# ターゲットアーキテクチャの定義
11#
12
13TARGET = sh-hitachi-elf
14
15#
16# コンパイルオプション
17#
18INCLUDES := $(INCLUDES) -I$(CONFIGDIR)/$(CPU)
19COPTS := $(COPTS) -Wall -g -O1 -m2 -mhitachi
20CDEFS := $(CDEFS) -DLABEL_ASM
21
22#
23# カーネルに関する定義
24#
25KERNEL_DIR := $(KERNEL_DIR):$(CONFIGDIR)/$(CPU)
26KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) cpu_support.o
27KERNEL_COBJS := $(KERNEL_COBJS) cpu_config.o vector_table.o
28
29#
30# スタートアップモジュールに関する定義
31#
32START_OBJS = start.o
33
34$(START_OBJS): %.o: %.S
35 $(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
36
37$(START_OBJS:.o=.d): %.d: %.S
38 @$(PERL) $(SRCDIR)/utils/makedep -C $(CC) \
39 -O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
Note: See TracBrowser for help on using the repository browser.