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