diff --git a/lib/Makefile b/lib/Makefile index 0a5727d..feaf0d9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,11 +1,18 @@ OBJS:= fltk/lib/libfltk.a fltk/lib/libfltk_images.a +SRCS:= fltk/src/*.cpp fltk/FL/*.H -$(OBJS): fltk/config.h +$(SRCS): fltk/config.h + @ echo Building FLTK + cd fltk && make + +$(OBJS): fltk/config.h $(SRCS) + @ echo Building FLTK cd fltk && make fltk/config.h: + @ echo Configuring FLTK cd fltk && ./configure --prefix=/dev/null --disable-shared --disable-gl --enable-threads --enable-xft --enable-xdbe --enable-xinerama config: $(OBJS) @@ -13,3 +20,5 @@ config: $(OBJS) clean: all: $(OBJS) + @ echo Building FLTK + cd fltk && make diff --git a/lib/fltk b/lib/fltk index d1bf407..3b35024 160000 --- a/lib/fltk +++ b/lib/fltk @@ -1 +1 @@ -Subproject commit d1bf407e970fcd205098338d644b60a91cc87c88 +Subproject commit 3b35024d52673fcde15432872e25c9af36e23cd3