X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=Makefile;h=596b956d12ab0a9cefeab89a4319660fe8a049af;hb=HEAD;hp=2ac838d0dbbb62c2a782986671a5fba69822dc45;hpb=811796db36e23c08496a84c302a4e3b5f0df469b;p=nikiroo-utils.git diff --git a/Makefile b/Makefile index 2ac838d..df7b7be 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ # > SJAR_FLAGS: list of paths to include in the source jar file (`-C dir path`) # > PREFIX: the usual prefix to (un)install to -- you may of course override it # -NAME = program -MAIN = be/nikiroo/program/Main -TEST = be/nikiroo/tests/program/Test +NAME = nikiroo-utils +MAIN = be/nikiroo/tests/utils/Test +TEST = be/nikiroo/tests/utils/Test JAR_MISC = -C ./ LICENSE -C ./ VERSION -C libs/ licenses JAR_FLAGS += -C bin/ be -C bin/ org $(JAR_MISC) SJAR_FLAGS += -C src/ be -C src/ org $(JAR_MISC) @@ -19,11 +19,11 @@ PREFIX = /usr/local # # Special Options for this program: you can modify the previous var if needed -# > OPTION=non-default-value (or OPTION=default-value by default) +# > UI=android (or UI=awt by default) # -ifeq ($(OPTION),non-default-value) -MORE += be/nikiroo/utils/android/test/TestAndroid -TEST += be/nikiroo/utils/android/ImageUtilsAndroid +ifeq ($(UI),android) +MORE+= be/nikiroo/utils/android/ImageUtilsAndroid +TEST += be/nikiroo/utils/android/test/TestAndroid else MORE += be/nikiroo/utils/ui/ImageUtilsAwt MORE += be/nikiroo/utils/ui/ImageTextAwt