Initial commit, read more

This commit includes:

* Button
* TextLine
* TextBox
* TextField

It also includes these dependencies:

* Image
* BoundingBox
This commit is contained in:
2016-04-16 17:25:00 +10:00
commit ae3b08c3d5
16 changed files with 1159 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#config
INCLUDES+=.
LIBS+=
CXXFLAGS+=-std=c++11 $(addprefix -I,$(INCLUDES))
#source
CXXSRC=$(wildcard *.cpp)
#objects
OBJDIR=obj
OBJ+=$(addprefix $(OBJDIR)/,$(CXXSRC:.cpp=.o))
OUTDIR=.
OUT=libturtlegui.a
#targets
all: $(OBJ) $(OUT)
ar -crs $(OUT) $(OBJ)
$(OBJ): | $(OBJDIR)
$(OUT): | $(OUTDIR)
$(OBJDIR):
mkdir $(OBJDIR)
$(OUTDIR):
mkdir $(OUTDIR)
$(OBJDIR)/%.o: %.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<