GLdc/Makefile

30 lines
721 B
Makefile
Raw Normal View History

# KallistiOS ##version##
#
# kos-ports/libgl Makefile
# Copyright (C) 2013, 2014 Josh Pearson
# Copyright (C) 2014 Lawrence Sebald
2018-05-14 16:10:53 +00:00
# Copyright (C) 2018 Luke Benstead
TARGET = libGLdc.a
2018-05-20 15:16:53 +00:00
OBJS = GL/draw.o GL/flush.o GL/framebuffer.o GL/immediate.o GL/lighting.o GL/state.o GL/texture.o
OBJS += GL/matrix.o GL/fog.o GL/error.o containers/stack.o containers/named_array.o containers/aligned_vector.o
2014-09-29 02:40:41 +00:00
SUBDIRS =
KOS_CFLAGS += -ffast-math -O3 -Iinclude
link:
$(KOS_AR) rcs $(TARGET) $(OBJS)
build: $(OBJS) link
defaultall: create_kos_link $(OBJS) subdirs linklib
2012-07-06 14:01:41 +00:00
include $(KOS_BASE)/addons/Makefile.prefab
2012-07-06 14:01:41 +00:00
# creates the kos link to the headers
create_kos_link:
rm -f ../include/GL
ln -s ../GLdc/include ../include/GL