File: configure

package info (click to toggle)
pdp 1%3A0.14.1%2Bdarcs20180201-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,228 kB
  • sloc: ansic: 22,424; asm: 2,088; makefile: 537; perl: 145; sh: 108; cpp: 4
file content (11 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (4)
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