9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

Makefile (313B)


      1 # bc - bc unix port from plan9
      2 # Depends on ../lib9
      3 
      4 TARG      = bc
      5 OFILES	  = y.tab.o
      6 YFILES	  = bc.y
      7 MANFILES  = bc.1
      8 
      9 include ../yacc.mk
     10 
     11 # Solaris
     12 #LDFLAGS += -dy -lxnet
     13 
     14 pre-uninstall:
     15 	rm -f ${DESTDIR}${PREFIX}/lib/bclib
     16 
     17 post-install:
     18 	@mkdir -p ${DESTDIR}${PREFIX}/lib
     19 	@cp bclib ${DESTDIR}${PREFIX}/lib/