first commit
This commit is contained in:
32
CS4210/cs4210/proj2/Makefile
Normal file
32
CS4210/cs4210/proj2/Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
##############################################################################
|
||||
#
|
||||
# This file will recursively call client and server makefiles to build
|
||||
# those.
|
||||
#
|
||||
# $Author: vurazov $
|
||||
# $Date: 2006/02/28 00:52:18 $
|
||||
# $Revision: 1.2 $
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
BUILD_DIRS = common client server proxy
|
||||
SRC_DIR = src
|
||||
OBJ_DIR = obj
|
||||
BIN_DIR = bin
|
||||
|
||||
RM = /bin/rm -rf
|
||||
|
||||
.PHONY: all clean touch $(BUILD_DIRS)
|
||||
|
||||
all: $(BUILD_DIRS)
|
||||
|
||||
$(BUILD_DIRS):
|
||||
$(MAKE) -C src/$@
|
||||
|
||||
clean:
|
||||
for dir in $(BUILD_DIRS); do $(MAKE) -C $(SRC_DIR)/$$dir clean; $(RM) $(SRC_DIR)/$$dir/$(OBJ_DIR); done
|
||||
$(RM) $(BIN_DIR)
|
||||
|
||||
touch:
|
||||
for dir in $(BUILD_DIRS); do touch $(SRC_DIR)/$$dir/*.* $(SRC_DIR)/$$dir/Makefile; done
|
||||
|
||||
Reference in New Issue
Block a user