fixed "mixed declarations and code"
[fbgfx] / Makefile
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = fbgfx
4
5 CFLAGS = -pedantic -Wall -g -O3
6 LDFLAGS = -limago -lm -lpthread
7
8 $(bin): $(obj)
9         $(CC) -o $@ $(obj) $(LDFLAGS)
10
11 .PHONY: clean
12 clean:
13         rm -f $(obj) $(bin)