summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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
+