mbrot-mt

view Makefile @ 0:e9ae6289e14f

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 07 Mar 2014 07:42:48 +0200
parents
children 3a893f9831ac
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = mbrot
5 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl`
6 LDFLAGS = `pkg-config --libs sdl`
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)