aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-07-16 21:49:05 +0200
committerJulian T <julian@jtle.dk>2020-07-16 21:49:05 +0200
commit3a4b55c20ac040ace53aba5f2715b9c080bea17f (patch)
tree9acbfd74f93fc011329a40dd0a4dc5213fadec3e /Makefile
Initial working pixelsorter
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1483e96
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+CC=gcc
+
+LFLAGS=-lfreeimage
+CFLAGS=-ggdb -O3 -Wall
+
+CFILES = $(wildcard *.c)
+
+pixelsort: $(CFILES)
+ $(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
+
+.PHONY: run clean
+
+run: pixelsort
+ ./pixelsort
+
+clean:
+ rm pixelsort