|
|
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 ! 10: ld -r -o $(K386LIB)/drivers.o $(DRVOBJS) ! 11: if [ "%R" ] ; then rm %R ; else true ; fi ! 12: ! 13: conf.o : conf.c conf.h ! 14: make space ! 15: $(CC) $(CFLAGS) -c conf.c ! 16: ! 17: space: %L ! 18: ! 19: %C ! 20: clean: ! 21: if [ "%R" ] ; then rm %R ; else true ; fi
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.