Fix NTK Makefile.

This commit is contained in:
Jonathan Moore Liles 2012-05-21 21:22:28 -07:00
parent fbef266be3
commit 9b669e42e0
1 changed files with 5 additions and 8 deletions

View File

@ -1,23 +1,20 @@
OBJS:= ntk/lib/libntk.a ntk/lib/libntk_images.a
SRCS:= ntk/src/*.cxx ntk/FL/*.H
SRCS:= $(wildcard ntk/src/*.cxx ntk/FL/*.H)
$(SRCS): ntk/config.h
@ echo Building NTK
cd ntk && make
$(MAKE) -C ntk
$(OBJS): ntk/config.h $(SRCS)
@ echo Building NTK
cd ntk && make
$(OBJS): $(SRCS)
ntk/config.h: Makefile
@ echo Configuring NTK
cd ntk && ./configure --prefix=/usr/local --enable-debug --enable-shared --disable-gl --enable-threads --enable-xft --enable-cairo --enable-cairoext --enable-xinerama
@ touch ntk/config.h
config: ntk/config.h
clean:
all: $(OBJS)
@ echo Building NTK
cd ntk && make