voxfract

view Makefile @ 1:d0297d001505

some command line options
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 15 Jun 2017 05:10:00 +0300
parents 8171de5a000b
children
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = voxfract
5 CFLAGS = -pedantic -Wall -g -O3 -ffast-math
6 LDFLAGS = -lGL -lGLU -lglut -lmetasurf -lm
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)