labyrinth

view Makefile @ 5:c8826e5ebec1

- changed every data loading function to return dummy objects instead of failing - fixed mistake in AndroidManifest.xml
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 01 May 2015 05:58:41 +0300
parents 8ba79034e8a6
children
line source
1 include proj.mk
2 src += src/glut/main.c
4 obj = $(src:.c=.o)
6 sys = $(shell uname -s)
8 libgl_Linux = -lGL -lGLU -lglut -lGLEW
9 libgl_Darwin = -framework OpenGL -framework GLUT -lGLEW
11 CFLAGS = -pedantic -Wall -g $(incpaths)
12 LDFLAGS = $(libpaths) $(libgl_$(sys)) -lm
14 $(bin): $(obj)
15 $(CC) -o $@ $(obj) $(LDFLAGS)
17 .PHONY: clean
18 clean:
19 rm -f $(obj) $(bin)