This repository has been archived on 2019-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
adventin/Makefile
2009-11-08 08:35:41 +00:00

34 lines
648 B
Makefile

include Rules.make
SUBDIRS = src/sdl-instead stead games themes icon desktop doc languages
all:
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $(@) || exit 1; \
done;
clean:
@for dir in $(SUBDIRS); do \
$(MAKE) clean -C $$dir $(@) || exit 1; \
done;
echo "# you can define own flags here" > config.make
install: all
ifeq ($(SYSTEMSETUP), yes)
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir install || exit 1; \
done;
else
echo No install needed
endif
uninstall:
ifeq ($(SYSTEMSETUP), yes)
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir uninstall || exit 1; \
done;
$(RM) -rf $(STEADPATH)
else
echo No uninstall needed
endif