source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/sh1/Makefile.config

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

add tags/jsp-1.4.4-full-UTF8

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