summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/kernel/Makefile
blob: 5234f8548f378db4d474dc8263343aab0f6d719a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: Makefile,v 1.3 1998/06/25 20:19:17 ralf Exp $
# Makefile for the SGI specific kernel interface routines
# under Linux.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...

.S.s:
	$(CPP) $(CFLAGS) $< -o $*.s
.S.o:
	$(CC) $(CFLAGS) -c $< -o $*.o

OBJS  = indy_mc.o indy_sc.o indy_hpc.o indy_int.o indy_rtc.o system.o \
	indy_timer.o indyIRQ.o reset.o setup.o time.o

all: sgikern.a

sgikern.a: $(OBJS)
	$(AR) rcs sgikern.a $(OBJS)
	sync

indyIRQ.o: indyIRQ.S

dep:
	$(CPP) -M *.c > .depend

include $(TOPDIR)/Rules.make