home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
yacl-012.zip
/
makefile.gcc
< prev
next >
Wrap
Makefile
|
1995-03-29
|
1KB
|
71 lines
include $(YACLPATH)/control/gccmak.ctl
LIBS = base io ui
yacl: libdir $(LIBS)
libdir:
-mkdir $(YACLPATH)/lib
-mkdir $(YACLPATH)/lib/$(YACLPLATFORM)
.PHONY: base io ui
base:
- cd base && make -f makefile.gcc && cd ..
io:
- cd io && make -f makefile.gcc && cd ..
ui:
- cd ui && make -f makefile.gcc && cd ..
uidemos:
- cd uidemo && make -f makefile.gcc && cd ..
everything: base io ui uidemos
clean:
-rm -f base/*.o io/*.o ui/*.o lib/$(YACLPLATFORM)/*.a
- cd uidemo && make -f makefile.gcc clean && cd ..
ZIP = zip
zip:
rm -f yacl_all.zip
find . \! \( -perm +u+x -o -name '*.o' -o -name '*.a' \) -print | \
sort | \
$(ZIP) yacl_all.zip -@
changezip:
rm -f changes.zip
find . -newer watmak.ctl \! \( -perm +u+x \) -print | \
egrep -v '\.[oa]' | sort | \
$(ZIP) changes.zip -@
uizip:
rm -f yaclui.zip
(find ./ui ./uidemo \! \( -perm +u+x -o -name '*.o' -o -name \
'*.a' \) -print; ls ./*.ctl ./makefile.* ./changlog ./*.txt)| sort | \
$(ZIP) yaclui.zip -@