-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (27 loc) · 946 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#########################################################
# Main Makefile for eclipse project
# Software Project Assigns
#
# Author: Neer Friedman
########################################################
APPROXIMATE_PI = assign1/approximate_pi
CHECK_POLICY = assign1/check_policy
IS_DIVIDABLE = assign1/is_dividable
STRING_EDITOR = assign2/string_editor
FINAL_PROJECT = final_project
SUBDIRS = $(APPROXIMATE_PI) $(CHECK_POLICY) $(IS_DIVIDABLE) $(STRING_EDITOR) $(FINAL_PROJECT)
# Default Target
all:
@echo
@echo "#######################################"
@echo "### BUILDING ALL TARGETS ###"
@echo "#######################################"
@echo
for i in $(SUBDIRS) ; do ( cd $$i ; make ) ; done
clean:
@echo
@echo "#######################################"
@echo "### CLEANING ALL TARGETS ###"
@echo "#######################################"
@echo
for i in $(SUBDIRS) ; do ( cd $$i ; make clean ) ; done