Changeset fccd588 in network-game for graphics_library/makefile


Ignore:
Timestamp:
Jan 8, 2019, 9:43:52 PM (6 years ago)
Author:
dportnoy15 <dmitry.portnoy@…>
Branches:
master
Children:
ea3a3a9
Parents:
8cbeffc
Message:

Make the graphics library project compile successfully on a Mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graphics_library/makefile

    r8cbeffc rfccd588  
     1OS = $(shell uname)
    12CC = g++
    2 LIB_FLAGS = -lGL -lglut -lGLEW `pkg-config glfw3 --static --cflags --libs`
    33FLAGS = -Wall
    44DEPENDENCIES = common/texture.o common/controls.o common/shader.o
     5
     6ifeq ($(OS),Darwin)
     7        LIB_FLAGS = -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -lglfw3 -lglew
     8endif
     9ifeq ($(OS),Linux)
     10        LIB_FLAGS = -lGL -lglut -lGLEW `pkg-config glfw3 --static --cflags --libs`
     11endif
    512
    613graphics_engine : main.cpp $(DEPENDENCIES)
Note: See TracChangeset for help on using the changeset viewer.