2012-03-07 02:24:42 +01:00
|
|
|
|
2012-04-27 19:14:53 +02:00
|
|
|
OBJS:= ntk/lib/libntk.a ntk/lib/libntk_images.a
|
2012-05-22 06:22:28 +02:00
|
|
|
SRCS:= $(wildcard ntk/src/*.cxx ntk/FL/*.H)
|
2012-03-07 02:24:42 +01:00
|
|
|
|
2012-04-27 19:14:53 +02:00
|
|
|
$(SRCS): ntk/config.h
|
|
|
|
@ echo Building NTK
|
2012-05-22 06:22:28 +02:00
|
|
|
$(MAKE) -C ntk
|
2012-05-23 02:57:29 +02:00
|
|
|
@ touch .built
|
2012-03-10 06:53:44 +01:00
|
|
|
|
2012-05-22 06:22:28 +02:00
|
|
|
$(OBJS): $(SRCS)
|
2012-03-07 02:24:42 +01:00
|
|
|
|
2012-04-27 19:14:53 +02:00
|
|
|
ntk/config.h: Makefile
|
|
|
|
@ echo Configuring NTK
|
2012-05-22 06:11:03 +02:00
|
|
|
cd ntk && ./configure --prefix=/usr/local --enable-debug --enable-shared --disable-gl --enable-threads --enable-xft --enable-cairo --enable-cairoext --enable-xinerama
|
2012-05-22 06:22:28 +02:00
|
|
|
@ touch ntk/config.h
|
|
|
|
|
2012-04-27 19:14:53 +02:00
|
|
|
config: ntk/config.h
|
2012-03-07 02:24:42 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
all: $(OBJS)
|