X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=40100fcf28bfd828efa34e2cc365c8d3a7b7a4e6;hb=HEAD;hp=816dbac92a90b7dffcbf2430820be5533372a39d;hpb=6e78d00e2e0d67d5f9bd831b5440e1b477402c41;p=voxscape diff --git a/Makefile b/Makefile index 816dbac..40100fc 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,10 @@ bin = voxscape warn = -pedantic -Wall #opt = -O3 dbg = -g +incdir = -I. -CFLAGS = $(warn) $(opt) $(dbg) -MMD -LDFLAGS = -lGL -lglut -lm +CFLAGS = $(warn) $(opt) $(dbg) -MMD $(incdir) +LDFLAGS = -lGL -lglut -lm -limago $(bin): $(obj) $(CC) -o $@ $(obj) $(LDFLAGS)