chiark / gitweb /
More error handling: set -e, set -o pipefail
[modbot-mtm.git] / webstump / Makefile.INO
1
2 # Edit these variables
3
4 WEBSTUMP_HOME = %BASEDIR%/webstump
5 CC = cc
6
7 # do not edit below
8 all: verify c_compile
9
10 verify:
11         @if [ ! -x $(WEBSTUMP_HOME)/scripts/webstump.pl ] ;  then       \
12                 echo $(WEBSTUMP_HOME)/scripts/webstump.pl does not;     \
13                 echo point to a valid perl script.;                     \
14                 echo Check the value of WEBSTUMP_HOME in Makefile;      \
15                 exit 1;                                                 \
16         fi      \
17         
18         
19 c_compile:
20         cd src; make WEBSTUMP_HOME=$(WEBSTUMP_HOME)
21
22 clean: 
23         rm bin/wrapper