File: compile.sh

package info (click to toggle)
mymake 2.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 672 kB
  • sloc: cpp: 5,730; lisp: 300; ansic: 195; sh: 86; makefile: 32
file content (12 lines) | stat: -rwxr-xr-x 236 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

echo "Compiling mymake..."
if [ -e $1 ]
then
    rm $1
fi

mkdir -p bin
g++ textinc/*.cpp -o bin/textinc
bin/textinc bin/templates.h templates/*.txt
g++ -std=c++11 -O3 -g -iquotesrc/ src/*.cpp src/setup/*.cpp -lpthread -o $1