]> mj.ucw.cz Git - libucw.git/blobdiff - free/libs/examples/external-ucw-build/Makefile
Configure: Use `die "...\n"' for all error messages.
[libucw.git] / free / libs / examples / external-ucw-build / Makefile
index db4d1243343db8885a6cd5aba13757ed5e2ebf9e..5715c2579f4d07aa6acdc38cb4486fab0e6db3c4 100644 (file)
@@ -11,12 +11,12 @@ s=.
 obj/config.mk:
        @echo "You need to run configure first." && false
 
 obj/config.mk:
        @echo "You need to run configure first." && false
 
-# Do not show strange errors if the BUILDSYS_PATH is not set
-# (means noone yet called configure and it reported above)
-ifdef BUILDSYS_PATH
+# Do not show strange errors if the BUILDSYS is not set
+# (it happens if noone called configure as reported above)
+ifdef BUILDSYS
 
 # We will use the libucw build system
 
 # We will use the libucw build system
-include $(BUILDSYS_PATH)/Maketop
+include $(BUILDSYS)/Maketop
 
 # Add the detected flags to all the global flags
 CFLAGS+=$(LIBUCW_CFLAGS)
 
 # Add the detected flags to all the global flags
 CFLAGS+=$(LIBUCW_CFLAGS)
@@ -29,6 +29,6 @@ PROGS+=$(o)/test
 $(o)/test: $(o)/test.o $(LIBUCW)
 
 # And finally the default rules of the build system
 $(o)/test: $(o)/test.o $(LIBUCW)
 
 # And finally the default rules of the build system
-include $(BUILDSYS_PATH)/Makebottom
+include $(BUILDSYS)/Makebottom
 
 endif
 
 endif