File: configure

package info (click to toggle)
pdp 1%3A0.12.5-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,676 kB
  • sloc: ansic: 20,381; asm: 1,973; makefile: 349; perl: 145; sh: 83; cpp: 4
file content (11 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# hack: use parent dir's Makefile.config

cp ../Makefile.config .

TARGET=`cat Makefile.config | grep PDP_TARGET | awk -F= '{print $2}'`

echo "PDP_OPENGL_LIBRARY_NAME=pdp_opengl.pd_${TARGET}" >> Makefile.config
echo "TARGET=${TARGET}" >> Makefile.config