source: trunk/dports/sysutils/pstree/files/configure @ 31911

Last change on this file since 31911 was 31911, checked in by mww@…, 12 years ago

use a hand-crafted ./configure script to generate a simple Makefile: Makes using different compilers possible and universal builds easy

File size: 309 bytes
Line 
1#!/bin/sh
2echo "CC=${CC:-cc}" > Makefile
3echo "CFLAGS=${CFLAGS}" >> Makefile
4echo "CPPFLAGS=${CPPFLAGS}" >> Makefile
5echo "LDFLAGS=${LDFLAGS}" >> Makefile
6echo "INSTALL=${INSTALL:-install}" >> Makefile
7echo "all:" >> Makefile
8echo "  \$(CC) \$(CFLAGS) \$(CPPFLAGS) \$(LDFLAGS) pstree.c -o pstree" >> Makefile
9
Note: See TracBrowser for help on using the repository browser.