mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 19:34:49 +01:00
Updating the examples to include the recent set.
This commit is contained in:
parent
dd2cde4454
commit
a71109d5a9
27
examples/thttpd/Makefile
Normal file
27
examples/thttpd/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
SRC="http://acme.com/software/thttpd/thttpd-2.27.tar.gz"
|
||||
|
||||
all: thttpd.bc
|
||||
|
||||
thttpd-2.27.tar.gz:
|
||||
curl -L ${SRC} > thttpd-2.27.tar.gz
|
||||
|
||||
|
||||
thttpd-2.27.tar: thttpd-2.27.tar.gz
|
||||
gunzip -k thttpd-2.27.tar.gz
|
||||
|
||||
thttpd-2.27: thttpd-2.27.tar
|
||||
tar xvf thttpd-2.27.tar
|
||||
|
||||
thttpd-2.27/thttpd: thttpd-2.27
|
||||
cd thttpd-2.27; CC=gclang ./configure; make; get-bc thttpd; mv thttpd.bc ..
|
||||
|
||||
thttpd.bc: thttpd-2.27/thttpd
|
||||
get-bc -o thttpd.bc thttpd-2.27/thttpd
|
||||
|
||||
clean:
|
||||
rm -rf thttpd-2.27 thttpd-2.27.tar thttpd.bc thttpd
|
||||
|
||||
spotless: clean
|
||||
rm -f thttpd-2.27.tar.gz
|
||||
|
||||
.PHONY: clean distclean
|
Loading…
Reference in New Issue
Block a user