Skip to content
Snippets Groups Projects
Commit b7e2a6e1 authored by edgrif's avatar edgrif
Browse files

improve the all target

parent b519117d
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,11 @@
#
APP_DIR = zmapApp
MAKE_DIRS = $(APP_DIR) zmapmanager zmapserver zmapthreads zmaputils zmapwindow
MAKE_DIRS = $(APP_DIR) zmapAppmanager zmapserver zmapthreads zmaputils zmapwindow
all: makebindir
@for d in $(MAKE_DIRS); do \
(cd $$d ; echo ; echo 'make '$@' in '$$d ; $(MAKE) $@ ; echo) ; \
done
all: makebindir libs zmap
@echo 'made ZMap libraries and executables...'
clean: makebindir
@for d in $(MAKE_DIRS); do \
......@@ -19,6 +17,12 @@ clean: makebindir
done
@rm -f $(ZMAPAPP_LIB) $(ZMAP_LIB)
# note that we issue a "make all" in the subdirectories, not a "make libs"
libs: makebindir
@for d in $(MAKE_DIRS); do \
(cd $$d ; echo ; echo 'make all in '$$d ; $(MAKE) 'all' ; echo) ; \
done
zmap : makebindir
@cd $(APP_DIR) ; echo ; echo 'make '$@ ; $(MAKE) $@ ; echo
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment