mirror of
https://asciireactor.com/otho/cloudy-agn.git
synced 2024-12-05 02:35:08 +00:00
minor build script tweak.
This commit is contained in:
parent
3bd8f6e0b9
commit
70b97d6b6c
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
mkdir -p ../bin/
|
||||
#g++ -c ${1}.cpp `libpng-config --cflags` -I shapelib-1.3.0/ -I png++-0.2.5/
|
||||
g++ -c ${1}.cpp `libpng-config --cflags` -I png++-0.2.5/
|
||||
g++ -o ../bin/${1} ${1}.o `libpng-config --ldflags`
|
||||
source_name=`echo $1|sed 's/\.cpp$//'`
|
||||
#g++ -c ${source_name}.cpp `libpng-config --cflags` -I shapelib-1.3.0/ -I png++-0.2.5/
|
||||
g++ -c ${source_name}.cpp `libpng-config --cflags` -I png++-0.2.5/
|
||||
g++ -o ../bin/${source_name} ${source_name}.o `libpng-config --ldflags`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user