2003-10-13 00:41:10 +00:00
|
|
|
# KallistiOS ##version##
|
|
|
|
#
|
2014-08-16 18:09:37 +00:00
|
|
|
# kos-ports/libgl Makefile
|
|
|
|
# Copyright (C) 2013, 2014 Josh Pearson
|
|
|
|
# Copyright (C) 2014 Lawrence Sebald
|
2003-10-13 00:41:10 +00:00
|
|
|
|
|
|
|
TARGET = libgl.a
|
2014-08-16 18:09:37 +00:00
|
|
|
OBJS = gl-rgb.o gl-fog.o gl-sh4-light.o gl-light.o gl-clip.o gl-pvr.o
|
2014-09-07 22:41:26 +00:00
|
|
|
OBJS += gl-arrays.o gl-matrix.o gl-api.o glu-texture.o
|
2003-10-13 00:41:10 +00:00
|
|
|
SUBDIRS =
|
|
|
|
|
2014-08-16 18:09:37 +00:00
|
|
|
KOS_CFLAGS += -ffast-math -O3 -Iinclude
|
|
|
|
|
2012-07-06 14:01:41 +00:00
|
|
|
defaultall: create_kos_link $(OBJS) subdirs linklib
|
2003-10-13 00:41:10 +00:00
|
|
|
|
2012-07-06 14:01:41 +00:00
|
|
|
include $(KOS_BASE)/addons/Makefile.prefab
|
2003-10-13 00:41:10 +00:00
|
|
|
|
2012-07-06 14:01:41 +00:00
|
|
|
# creates the kos link to the headers
|
|
|
|
create_kos_link:
|
|
|
|
rm -f ../include/GL
|
|
|
|
ln -s ../libgl/include ../include/GL
|