encfs/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/Makefile
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

20 lines
292 B
Makefile

CC = g++
CFLAGS = -Wall -std=c++11
PROG = cube
SRCS = main.cpp imageloader.cpp
ifeq ($(shell uname),Darwin)
LIBS = -framework OpenGL -framework GLUT
else
LIBS = -lglut -lGLU -lGL
endif
all: $(PROG)
$(PROG): $(SRCS)
$(CC) $(CFLAGS) -o bin/$(PROG) $(SRCS) $(LIBS)
clean:
rm -f $(PROG)