This commit is contained in:
8
runtime/Makefile
Normal file
8
runtime/Makefile
Normal 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
10
runtime/default.nix
Normal 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
5
runtime/gyehoek.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int blah () {
|
||||
puts ("aaa");
|
||||
}
|
||||
Reference in New Issue
Block a user