|
|
1.1 root 1: CC =gcc
2: CFLAGS =-O -Wall -fstrength-reduce -fcombine-regs -fomit-frame-pointer \
3: -finline-functions -nostdinc -I../include
4: AS =gas
5: AR =gar
6: LD =gld
7: CPP =gcc -E -nostdinc -I../include
8:
9: .c.o:
10: $(CC) $(CFLAGS) \
11: -c -o $*.o $<
12: .s.o:
13: $(AS) -o $*.o $<
14: .c.s:
15: $(CC) $(CFLAGS) \
16: -S -o $*.s $<
17:
18: OBJS = memory.o page.o
19:
20: all: mm.o
21:
22: mm.o: $(OBJS)
23: $(LD) -r -o mm.o $(OBJS)
24:
25: clean:
26: rm -f core *.o *.a tmp_make
27: for i in *.c;do rm -f `basename $$i .c`.s;done
28:
29: dep:
30: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
31: (for i in *.c;do $(CPP) -M $$i;done) >> tmp_make
32: cp tmp_make Makefile
33:
34: ### Dependencies:
35: memory.o : memory.c ../include/signal.h ../include/sys/types.h \
36: ../include/linux/config.h ../include/linux/head.h ../include/linux/kernel.h \
37: ../include/asm/system.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.