summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2024-10-29 14:23:35 +0100
committerLouis Burda <quent.burda@gmail.com>2024-10-29 14:23:35 +0100
commitdbde9185dce8df1501eb0f7f230669dddbc47d26 (patch)
tree279841e981fe507d5dc52bd585975177d8f692cc /Makefile
downloadexec0-master.tar.gz
exec0-master.zip
Basic versionHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2cbc2ab
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+
+CFLAGS = -O3 -static
+
+all: exec0
+
+exec0: exec0.c
+
+install:
+ install -m755 exec0 -t "$(DESTDIR)$(PREFIX)$(BINDIR)"
+
+uninstall:
+ rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/exec0"
+
+clean:
+ rm -f exec0
+
+.PHONY: all clean install uninstall
+