steed/Makefile

34 lines
648 B
Makefile
Raw Normal View History

2009-09-23 07:21:24 +03:00
include Rules.make
SUBDIRS = src/sdl-instead stead games themes icon desktop doc languages
2009-02-21 12:52:44 +02:00
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;
2009-11-08 10:35:41 +02:00
echo "# you can define own flags here" > config.make
2009-02-21 12:52:44 +02:00
install: all
2009-09-23 07:21:24 +03:00
ifeq ($(SYSTEMSETUP), yes)
2009-02-21 12:52:44 +02:00
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir install || exit 1; \
done;
2009-09-23 07:21:24 +03:00
else
echo No install needed
endif
2009-02-21 12:52:44 +02:00
2009-09-23 07:21:24 +03:00
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