mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Initial file
This commit is contained in:
parent
78a7f801fc
commit
a6e9262809
1 changed files with 44 additions and 0 deletions
44
examples/Makefile
Normal file
44
examples/Makefile
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Build all example programs
|
||||
TARGETS = \
|
||||
tail-call-optimization \
|
||||
begin-splicing \
|
||||
fac \
|
||||
long-running-process \
|
||||
game-of-life/life \
|
||||
hello-library/hello \
|
||||
threading/cv-broadcast \
|
||||
threading/many-writers \
|
||||
threading/producer-consumer \
|
||||
threading/thread-join \
|
||||
|
||||
SRCFILES = $(addsuffix .scm, $(TARGETS))
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
tail-call-optimization : tail-call-optimization.scm
|
||||
cyclone $^
|
||||
begin-splicing : begin-splicing.scm
|
||||
cyclone $^
|
||||
fac : fac.scm
|
||||
cyclone $^
|
||||
long-running-process : long-running-process.scm
|
||||
cyclone $^
|
||||
threading/cv-broadcast : threading/cv-broadcast.scm
|
||||
cyclone $^
|
||||
threading/many-writers : threading/many-writers.scm
|
||||
cyclone $^
|
||||
threading/producer-consumer: threading/producer-consumer.scm
|
||||
cyclone $^
|
||||
threading/thread-join : threading/thread-join.scm
|
||||
cyclone $^
|
||||
game-of-life/life:
|
||||
cd game-of-life ; make
|
||||
hello-library/hello:
|
||||
cd hello-library ; make
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf *.o *.c *.meta $(TARGETS)
|
||||
cd threading ; rm -rf *.o *.c *.meta
|
||||
cd game-of-life ; make clean
|
||||
cd hello-library ; make clean
|
Loading…
Add table
Reference in a new issue