]> mj.ucw.cz Git - libucw.git/blobdiff - free/libs/examples/internal/Makefile
Configure: Check for pkg-config before using it.
[libucw.git] / free / libs / examples / internal / Makefile
index 13286e534a2b50a10896c678cc24c5a8024299ce..633ca09856e6c22b0fdb1b864b577a3b5a98b8e5 100644 (file)
@@ -10,8 +10,10 @@ s=.
 obj/config.mk:
        @echo "You need to run configure first." && false
 
 obj/config.mk:
        @echo "You need to run configure first." && false
 
+BUILDSYS=$(s)/build
+
 # We will use the libucw build system
 # We will use the libucw build system
-include $(s)/build/Maketop
+include $(BUILDSYS)/Maketop
 
 # Set up names of common libraries (to avoid forward references in rules)
 LIBLANG=$(o)/lang/liblang.pc
 
 # Set up names of common libraries (to avoid forward references in rules)
 LIBLANG=$(o)/lang/liblang.pc
@@ -32,4 +34,4 @@ $(o)/test: $(o)/test.o $(LIBUCW) $(LIBLANG) $(LIBCHARSET) $(LIBIMAGES)
 TESTING_DEPS=$(LIBUCW)
 
 # And finally the default rules of the build system
 TESTING_DEPS=$(LIBUCW)
 
 # And finally the default rules of the build system
-include $(s)/build/Makebottom
+include $(BUILDSYS)/Makebottom