mbrot-mt
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard src/*.c) |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 bin = mbrot |
nuclear@0 | 4 |
nuclear@1 | 5 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl2` |
nuclear@1 | 6 LDFLAGS = `pkg-config --libs sdl2` |
nuclear@0 | 7 |
nuclear@0 | 8 $(bin): $(obj) |
nuclear@0 | 9 $(CC) -o $@ $(obj) $(LDFLAGS) |
nuclear@0 | 10 |
nuclear@0 | 11 .PHONY: clean |
nuclear@0 | 12 clean: |
nuclear@0 | 13 rm -f $(obj) $(bin) |