From 3a4b55c20ac040ace53aba5f2715b9c080bea17f Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 16 Jul 2020 21:49:05 +0200 Subject: Initial working pixelsorter --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3