Skip to content

Commit

Permalink
version 1.0.1
Browse files Browse the repository at this point in the history
Fixed a bug in the makefile
  • Loading branch information
cbaakman committed Oct 8, 2018
1 parent 66026f4 commit 423fe68
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX = g++
CFLAGS = -std=c++17
VERSION=1.0.0
VERSION=1.0.1
LIB_NAME=text-gl


Expand Down Expand Up @@ -35,12 +35,12 @@ obj/%.o: src/%.cpp include/text-gl/font.h include/text-gl/text.h include/text-g
mkdir -p obj
$(CXX) $(CFLAGS) -I include/text-gl -c $< -o $@ -fPIC

install:
install: lib/lib$(LIB_NAME).so.$(VERSION)
/usr/bin/install -d -m755 /usr/local/lib
/usr/bin/install -d -m755 /usr/local/include/text-gl
/usr/bin/install -m644 lib/lib$(LIB_NAME).so.$(VERSION) /usr/local/lib/lib$(LIB_NAME).so.$(VERSION)
ln -sf /usr/local/lib/lib$(LIB_NAME).so.$(VERSION) /usr/local/lib/lib$(LIB_NAME).so
/usr/bin/install -D include/xml-mesh/*.h /usr/local/include/xml-mesh/
/usr/bin/install -D include/text-gl/*.h /usr/local/include/text-gl/

uninstall:
rm -f /usr/local/lib/lib$(LIB_NAME).so* /usr/local/include/text-gl/*.h
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Text GL 1.0.0
# Text GL 1.0.1
A libray that facilitates working with text rendering in OpenGL.

The only supported input font format is SVG. (for now)
Expand Down
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set CXX=g++
set CFLAGS=-std=c++17
set VERSION=1.0.0
set VERSION=1.0.1
set LIB_NAME=text-gl


Expand Down

0 comments on commit 423fe68

Please sign in to comment.