last

git clone git://oldgit.suckless.org/last/
Log | Files | Refs

mkfile (259B)


      1 MKSHELL=rc
      2 <$PLAN9/src/mkhdr
      3 
      4 TARG=last
      5 
      6 CFLAGS= -DPLAYER='"mpg123 -"'
      7 
      8 OFILES=\
      9 	http.$O\
     10 	last.$O\
     11 	player.$O\
     12 	posix.$O\
     13 	util.$O\
     14 
     15 <$PLAN9/src/mkone
     16 
     17 # Why? Because MKSHELL doesn't apply to mkone, so it botches the cflags.
     18 %.$O:	%.c
     19 	$CC $CFLAGS $stem.c
     20