aboutsummaryrefslogtreecommitdiff
path: root/lib/source.mk
blob: b791b5b4d07bfbbe678427e14e53e88f7c67fdb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# some glue to keep everything together
lib/prune: lib/empty.bin
	$(COMPILE) lib/prune.c -o lib/prune

lib/empty.c: ops/common.h
lib/empty.bin: lib/empty
	$(OBJCOPY) -j .text -Obinary lib/empty lib/empty.bin

lib/empty: lib/empty.c
	$(OP_COMPILE) lib/empty.c -o lib/empty

src/copyjit.c: lib/decls.h
lib/decls.h: $(OPS)
	cd lib && ./gen_lib "$(OPS)"