Fix NTK Makefile.
This commit is contained in:
parent
fbef266be3
commit
9b669e42e0
13
lib/Makefile
13
lib/Makefile
|
@ -1,23 +1,20 @@
|
||||||
|
|
||||||
OBJS:= ntk/lib/libntk.a ntk/lib/libntk_images.a
|
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
|
$(SRCS): ntk/config.h
|
||||||
@ echo Building NTK
|
@ echo Building NTK
|
||||||
cd ntk && make
|
$(MAKE) -C ntk
|
||||||
|
|
||||||
$(OBJS): ntk/config.h $(SRCS)
|
$(OBJS): $(SRCS)
|
||||||
@ echo Building NTK
|
|
||||||
cd ntk && make
|
|
||||||
|
|
||||||
ntk/config.h: Makefile
|
ntk/config.h: Makefile
|
||||||
@ echo Configuring NTK
|
@ 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
|
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
|
config: ntk/config.h
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
||||||
all: $(OBJS)
|
all: $(OBJS)
|
||||||
@ echo Building NTK
|
|
||||||
cd ntk && make
|
|
||||||
|
|
Loading…
Reference in New Issue