Mercurial > hg > forks > gldragon
view Makefile @ 3:be31ff9e5f58
Port to libSDL2, clean up the code and some de-C++-ifications.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 27 Oct 2019 17:57:37 +0200 |
parents | 4727156927ea |
children | 4d6fec8f0c64 |
line wrap: on
line source
BINEXT = CFLAGS = -O3 -W -Wall $(shell pkg-config --cflags sdl2 gl glu) LDFLAGS = $(shell pkg-config --libs sdl2 gl glu) TARGETS = glxdragon$(BINEXT) glxdragon$(BINEXT): glxdragon.cpp $(CXX) $(CFLAGS) -o $@ $< $(LDFLAGS) clean: $(RM) $(TARGETS)