ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

meh.mk (478B)


      1 BIN = src/meh
      2 DEPS = xorglibx11 xorglibxcb xorglibxdmcp xorglibxau xorglibxext \
      3 	xorgprotoall libgiflib libjpegturbo libpng zlib
      4 INSTALL_BIN = src/meh
      5 INSTALL_MAN1 = doc/meh.1
      6 src_meh_OBJ = `{ls -1 src/*.c | sed 's/.$/o/'}
      7 src_meh_LDFLAGS =
      8 LOCAL_CFLAGS =
      9 LOCAL_LDFLAGS =
     10 LOCAL_BIN_LDFLAGS =
     11 
     12 <$mkbuild/mk.common
     13 
     14 $src_meh_OBJ: prepare
     15 
     16 prepare:V:
     17 	# fix include.
     18 	grep -q 'X11/Xlib.h' src/meh.h || \
     19 		sed -i -E 's@^(#include <stdio.h>)@\1\n#include <X11/Xlib.h>@g' src/meh.h