home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume27
/
distributed-c-2.1
/
part01
/
examples
/
Makefile
Wrap
Makefile
|
1993-12-22
|
568b
|
29 lines
# Makefile (DISTRIBUTED_C/examples)
SHELL = /bin/sh
SUBDIRS = buffer hello nullst philo prod_cons test travel
all:
@echo "building all examples..."
for name in $(SUBDIRS); \
do \
cd $${name}; \
echo "---------- DIRECTORY $${name} ----------"; \
make;
cd ..; \
done
clean:
@echo "Cleaning the directory and all subdirectories..."
-\rm -f dcc dcadmin core *.o
-find . -name "*.debug" -exec rm {} \;
-for name in $(SUBDIRS); \
do \
echo "----- cleaning subdirectory $${name}"; \
cd $${name}; \
make -s clean; \
cd ..; \
done
@echo done!