mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 17:34:45 +01:00
httping example.
This commit is contained in:
parent
fe8fbc063e
commit
bda594ddbe
29
examples/httping/Makefile
Normal file
29
examples/httping/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# sudo apt-get install gettext
|
||||
SRC=httping-2.5
|
||||
TAR=${SRC}.tgz
|
||||
URL=https://www.vanheusden.com/httping/${TAR}
|
||||
|
||||
|
||||
all: httping.bc
|
||||
|
||||
${TAR}:
|
||||
wget ${URL}
|
||||
|
||||
${SRC}: ${TAR}
|
||||
tar xvfz ${TAR}
|
||||
|
||||
${SRC}/httping: ${SRC}
|
||||
cd ${SRC}; CC=gclang ./configure; CC=gclang make
|
||||
|
||||
httping.bc: ${SRC}/httping
|
||||
get-bc -m -o httping.bc ${SRC}/httping
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf *.bc *.bca *.manifest
|
||||
rm -rf slash_specialized
|
||||
make -C ${SRC} clean
|
||||
|
||||
|
||||
spotless: clean
|
||||
rm -rf ${SRC} ${TAR}
|
Loading…
Reference in New Issue
Block a user