mirror of
https://github.com/trholding/llama2.c.git
synced 2026-02-06 11:26:53 +00:00
Move file generation rules (.config, model.h, tokenizer.h) out of `Makefile.unikernel` and into `Makefile`. This simplifies `Makefile.unikernel` making it Unikraft-specific. And making it easy to reuse as part of `make -f Makefile.unikraft ...` rules. Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
10 lines
210 B
Makefile
10 lines
210 B
Makefile
UK_ROOT ?= $(PWD)/UNIK/unikraft
|
|
UK_LIBS ?= $(PWD)/UNIK/libs
|
|
LIBS := $(UK_LIBS)/musl
|
|
|
|
all:
|
|
@$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS)
|
|
|
|
$(MAKECMDGOALS):
|
|
@$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) $(MAKECMDGOALS)
|