Berkeley CSUA MOTD:Entry 22211
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/08 [General] UID:1000 Activity:popular
7/8     

2001/8/22 [Computer/SW/Unix] UID:22211 Activity:nil
8/22    In Makefile, how do I specificy the following without having to
        enclose it within a directive (e.g. all:) ?

        $(SILENT)\
        if [ _$(findstring 1.2.1_03,$(JAVA_VERSION)) = _1.2.1_03 \
          -o _$(findstring 1.2.2_05,$(JAVA_VERSION)) = _1.2.2_05 \
           ]; then \
          $(ECHO) "Error: JDK version $(JAVA_VERSION) cannot be used." ;\
          exit 1 ;\
        fi ;\