This commit is contained in:
2026-05-06 07:51:15 -06:00
parent c716948932
commit 0f75f7b4e6
11 changed files with 75 additions and 28 deletions

8
runtime/Makefile Normal file
View File

@@ -0,0 +1,8 @@
all: gyehoek.o
gyehoek.o: gyehoek.c
$(CC) $(CFLAGS) -c gyehoek.c -o gyehoek.o
.PHONY: install
install:
install -Dm644 -t $(out)/lib gyehoek.o

10
runtime/default.nix Normal file
View File

@@ -0,0 +1,10 @@
{ stdenv
, callPackage
, bdwgc ? callPackage ./bdwgc.nix {}
}:
stdenv.mkDerivation {
pname = "gyehoek";
version = "1.0.0";
src = ./.;
}

5
runtime/gyehoek.c Normal file
View File

@@ -0,0 +1,5 @@
#include <stdio.h>
int blah () {
puts ("aaa");
}