summaryrefslogtreecommitdiff
path: root/trivionomicon/templates/system-flake/pkgs/hello-world/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trivionomicon/templates/system-flake/pkgs/hello-world/Makefile')
-rw-r--r--trivionomicon/templates/system-flake/pkgs/hello-world/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/trivionomicon/templates/system-flake/pkgs/hello-world/Makefile b/trivionomicon/templates/system-flake/pkgs/hello-world/Makefile
new file mode 100644
index 0000000..4eef056
--- /dev/null
+++ b/trivionomicon/templates/system-flake/pkgs/hello-world/Makefile
@@ -0,0 +1,6 @@
+CFLAGS += -O3 -s
+
+all: hello-world
+
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $<