|
|
1.1 root 1: # Template for kernel build makefile. Note that all the comments in this
2: # template will disappear. Below, %C -> compile rules, %L -> link files,
3: # %R -> clean files and %% -> %.
4:
5: CFLAGS = -O -I.
6:
7: DRVOBJS = conf.o %L
8:
9: $(K386LIB)/drivers.o: conf.o space $(DRVOBJS)
10: ld -r -o $(K386LIB)/drivers.o $(DRVOBJS)
11:
12: conf.o : conf.c conf.h
13: $(CC) $(CFLAGS) -c conf.c
14:
15: conf.h: mtune stune
16: mkdev -t
17: if [ "%R" ] ; then rm -f %R ; else true ; fi
18:
19: space: %L
20:
21: %C
22: clean:
23: if [ "%R" ] ; then rm -f %R ; else true ; fi
24:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.