voxfract
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard src/*.c) |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 bin = voxfract |
nuclear@0 | 4 |
nuclear@1 | 5 CFLAGS = -pedantic -Wall -g -O3 -ffast-math |
nuclear@0 | 6 LDFLAGS = -lGL -lGLU -lglut -lmetasurf -lm |
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) |