fractorb

view Makefile @ 0:6e849d7377ff

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 18 Nov 2017 20:04:16 +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)