Add perl 5.000.

This commit is contained in:
Andrius Štikonas 2021-02-14 15:36:05 +00:00
parent aa11513fdd
commit 221b1d07ad
10 changed files with 245 additions and 1 deletions

18
sysa/perl5.000/mk/main.mk Normal file
View file

@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-License-Identifier: GPL-3.0-or-later
CC = tcc
.PHONY: all
MINIPERL_SRC = av deb doio doop dump gv hv mg miniperlmain op perl perly pp pp_ctl pp_hot pp_sys regcomp regexec run scope sv taint toke util
MINIPERL_OBJ = $(addsuffix .o, $(MINIPERL_SRC))
all: miniperl
miniperl: $(MINIPERL_OBJ)
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
install: all
install miniperl $(PREFIX)/bin/perl