view Makefile @ 48:0ae1ff609626

Implement diffuse setting for models in scenefile. Also refactor parsing/handling of ambient/diffuse/specular values and unify it for both models and lights.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Dec 2019 01:12:23 +0200
parents 3c7e1d3fa5a2
children 99d2c681789f
line wrap: on
line source

CXXFLAGS ?= -DGL_GLEXT_PROTOTYPES
BINEXT ?= 
OBJPATH ?= ./obj/unix/

SDL_CFLAGS ?= $(shell pkg-config --cflags sdl2)
SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2)

GL_CFLAGS ?= $(shell pkg-config --cflags gl glu)
GL_LDFLAGS ?= $(shell pkg-config --libs gl glu)

TOOL_LDFLAGS ?=

include Makefile.gen