IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 1:04:22 PM (21 years ago)
Author:
eugene
Message:

cleanups so -Wall -Werror succeed, some .h reorgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pclient/Makefile

    r3525 r4689  
    77LIB     =       $(HOME)/lib
    88INC     =       $(HOME)/include
    9 HELP    =       $(HOME)/help
    109SDIR    =       $(HOME)/pclient
    1110#
     
    1413DESTINC =       $(LINC)
    1514DESTMAN =       $(LMAN)
     15DESTHLP =       $(LHLP)/pclient
    1616
    1717INCS    =       -I$(INC) -I$(LINC) -I$(XINC)
    1818LFLAGS  =       -L$(LLIB) -L$(LIB)
    1919LIBS1   =       -lFITS -lsocket -lnsl -lreadline -ltermcap -lohana -lm
    20 LIBS2   =       -lbasiccmd -lshell -ldata
     20LIBS2   =       -lbasiccmd -ldatacmd -lshell -ldata
    2121LIBS    =       $(LIBS2) $(LIBS1)
    2222CFLAGS  =       $(INCS)
     
    4242libs = \
    4343$(DESTLIB)/libbasiccmd.a \
     44$(DESTLIB)/libdatacmd.a \
    4445$(DESTLIB)/libshell.a \
    4546$(DESTLIB)/libdata.a
     
    5253$(BIN)/pclient.$(ARCH) : $(pclient) $(libs)
    5354
    54 install: $(DESTBIN)/pclient
     55install: $(DESTBIN)/pclient help
     56
     57help: cmd.basic.help pclient.help
    5558
    5659# utilities #################################################
     
    104107%.$(ARCH).o : %.c
    105108        $(CC) $(CFLAGS) -c $*.c -o $@
     109
     110%.help:
     111        @if [ ! -d $(DESTHLP) ]; then mkdir -p $(DESTHLP); fi
     112        rm -f $(HOME)/$*/help/*~
     113        rm -f $(HOME)/$*/help/#*
     114        cp $(HOME)/$*/help/* $(DESTHLP)/
Note: See TracChangeset for help on using the changeset viewer.