fractorb

view Makefile @ 2:03e8b9a5031d

screenshot function
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 20 Nov 2017 03:53:02 +0200
parents
children
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = fractorb
5 CFLAGS = -pedantic -Wall -g
6 LDFLAGS = -lGL -lglut -lGLEW -lm
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)