swissChili | 52a03d8 | 2021-07-18 15:22:14 -0700 | [diff] [blame^] | 1 | init(libsys, libsys.a) |
2 | |||||
3 | preset(optimize) | ||||
4 | preset(warn) | ||||
5 | preset(freestanding) | ||||
6 | preset(32) | ||||
7 | preset(debug) | ||||
8 | preset(nasm) | ||||
9 | |||||
10 | archetype(asm) | ||||
11 | |||||
12 | OBJECTS = sys.o | ||||
13 | |||||
14 | sys.s: sys.inc | ||||
15 | |||||
16 | sys.inc: $(ROOT)/include/sys.h | ||||
17 | @cat $< | grep '#define' | sed 's/^#/%/' > $@ | ||||
18 | |||||
19 | type(static_lib) | ||||
20 | |||||
21 | finish |