summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2020-05-15 21:42:38 +0000
committerIan C <ianc@noddybox.co.uk>2020-05-15 21:42:38 +0000
commit3ac04d32cd29c535144fbd1f97eea3fafd5c21d6 (patch)
treed6afe573a6bb5b77ab458450a326f0ba1684c311 /Makefile
parent3c5ebd9b39c4d0ec7935a67811c4f96a23c49921 (diff)
Now builds cleanly.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..48374da
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+all: img img3d
+
+img: img.c
+ cc -I/usr/openwin/include -L/usr/openwin/lib -O -o img img.c -lm -lX11
+
+img3d: img3d.c
+ cc -I/usr/openwin/include -L/usr/openwin/lib -O -o img3d img3d.c -lm -lX11
+
+clean:
+ rm -f img img3d core