#!/bin/sh
echo "CC=${CC:-cc}" > Makefile
echo "CFLAGS=${CFLAGS}" >> Makefile
echo "CPPFLAGS=${CPPFLAGS}" >> Makefile
echo "LDFLAGS=${LDFLAGS}" >> Makefile
echo "INSTALL=${INSTALL:-install}" >> Makefile
echo "all:" >> Makefile
echo "	\$(CC) \$(CFLAGS) \$(CPPFLAGS) \$(LDFLAGS) pstree.c -o pstree" >> Makefile

