Browse Subversion Repository
Contents of /tags/1.4.2/Makefile
Parent Directory
| Revision Log
| 1 |
# |
| 2 |
# Copyright (C) 2009-2012 TSUBAKIMOTO Hiroya <z0rac@users.sourceforge.jp> |
| 3 |
# |
| 4 |
# This software comes with ABSOLUTELY NO WARRANTY; for details of |
| 5 |
# the license terms, see the LICENSE.txt file included with the program. |
| 6 |
# |
| 7 |
TARGETS = befoo.exe extend.dll |
| 8 |
SUBDIRS = src extend icons |
| 9 |
|
| 10 |
all: $(TARGETS) |
| 11 |
|
| 12 |
befoo.exe: src ; @cp $</$@ . |
| 13 |
extend.dll: extend ; @cp $</$@ . |
| 14 |
icon: icons ; @/usr/bin/find $< -maxdepth 1 -name '*.ico' -exec cp {} . \; |
| 15 |
|
| 16 |
$(SUBDIRS):: ; @$(MAKE) -C $@ |
| 17 |
%.clean: ; @$(MAKE) -C $(basename $@) clean |
| 18 |
%.distclean: ; @$(MAKE) -C $(basename $@) distclean |
| 19 |
|
| 20 |
.PHONY: clean distclean mostlyclean |
| 21 |
clean: mostlyclean $(SUBDIRS:=.clean) |
| 22 |
distclean: mostlyclean $(SUBDIRS:=.distclean) ; @$(RM) *~ |
| 23 |
mostlyclean: ; @$(RM) befoo.exe extend.dll *.ico |
|