diff options
author | Elvira Khabirova <lineprinter0@gmail.com> | 2017-02-12 02:50:15 +0300 |
---|---|---|
committer | Elvira Khabirova <lineprinter0@gmail.com> | 2017-02-12 16:13:03 +0300 |
commit | ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48 (patch) | |
tree | 90342bc017b209e47c9cf63f36808e10365e2634 /Makefile | |
parent | 40eb5c03fdc1aaa493a40252e35de9b18f6db975 (diff) | |
download | icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.tar.gz icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.tar.bz2 icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.zip |
Clean up Makefiles
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 39 |
1 files changed, 5 insertions, 34 deletions
@@ -1,40 +1,11 @@ include config.mk -all: - $(MAKE) -C icebox - $(MAKE) -C icepack - $(MAKE) -C iceprog - $(MAKE) -C icemulti - $(MAKE) -C icepll - $(MAKE) -C icetime - $(MAKE) -C icebram +SUBDIRS = icebox icepack iceprog icemulti icepll icetime icebram -clean: - $(MAKE) -C icebox clean - $(MAKE) -C icepack clean - $(MAKE) -C iceprog clean - $(MAKE) -C icemulti clean - $(MAKE) -C icepll clean - $(MAKE) -C icetime clean - $(MAKE) -C icebram clean - -install: - $(MAKE) -C icebox install - $(MAKE) -C icepack install - $(MAKE) -C iceprog install - $(MAKE) -C icemulti install - $(MAKE) -C icepll install - $(MAKE) -C icetime install - $(MAKE) -C icebram install - -uninstall: - $(MAKE) -C icebox uninstall - $(MAKE) -C icepack uninstall - $(MAKE) -C iceprog uninstall - $(MAKE) -C icemulti uninstall - $(MAKE) -C icepll uninstall - $(MAKE) -C icetime uninstall - $(MAKE) -C icebram uninstall +all clean install uninstall: + for dir in $(SUBDIRS); do \ + $(MAKE) -C $$dir $@ || exit; \ + done mxebin: clean $(MAKE) MXE=1 |