Mercurial > hg > forks > gldragon
view Makefile @ 14:62be2036f604
Read mesh vertices/faces information from "<modelfilename>.info" instead of
having the values hardcoded.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 29 Oct 2019 12:48:36 +0200 |
parents | 87cb16492d91 |
children | a329f0216491 |
line wrap: on
line source
BINEXT ?= SDLGL_CFLAGS ?= $(shell pkg-config --cflags sdl2 gl glu) SDLGL_LIBS ?= $(shell pkg-config --libs sdl2 gl glu) CFLAGS ?= -O3 -W -Wall -DGL_GLEXT_PROTOTYPES LDFLAGS ?= TARGETS = glxdragon$(BINEXT) glxdragon$(BINEXT): glxdragon.cpp $(CXX) $(CFLAGS) $(SDLGL_CFLAGS) -o $@ $< $(LDFLAGS) $(SDLGL_LIBS) clean: $(RM) $(TARGETS)