mbrot-mt

view Makefile @ 1:3a893f9831ac

ported to SDL2
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 14 Mar 2014 03:39:37 +0200
parents e9ae6289e14f
children
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = mbrot
5 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl2`
6 LDFLAGS = `pkg-config --libs sdl2`
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)