aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 1483e9622a53293d65598c1ac24cd5c2e4ea14b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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