Edit

thodg/got/tog/Makefile

Branch :

  • Show log

    Commit

  • Author : Stefan Sperling
    Date : 2018-04-29 13:45:53
    Hash : 9f7d7167
    Message : add skeleton for tog(1)

  • tog/Makefile
  • .PATH:${.CURDIR}/../lib
    
    PROG=		tog
    SRCS=		tog.c error.c
    
    CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
    LDADD = -lpanel -lcurses -lutil -lz
    DPADD = ${LIBZ} ${LIBUTIL}
    .if defined(PROFILE)
    CC = gcc
    CPPFLAGS += -DPROFILE
    DEBUG = -O0 -pg
    .else
    DEBUG = -O0 -g
    .endif
    CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
    
    # For now, default to installing binary in ~/bin
    GROUP!=id -g -n
    install:
    	${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
    	-m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
    
    # Don't install man pages yet
    NOMAN = Yes
    
    .include <bsd.prog.mk>