forked from FriendsofECCE/ECCE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (44 loc) · 1020 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
################################################################################
# FILENAME: Makefile
#
#
# PURPOSE:
# Top level Makefile for ECCE.
#
# DESCRIPTION:
################################################################################
# include all ECCE definitions
include $(ECCE_MAKEINC_DIR)/Makefile.defs
default:
$(MAKE) -C java/build
$(MAKE) -C src
$(MAKE) -C src/apps
fast:
$(MAKE) -C java/build
$(MAKE) -C src fast
$(MAKE) -C src/apps fast
clean:
$(MAKE) rmdep
$(MAKE) rmobjs
$(MAKE) rmlibs
$(MAKE) rmbins
$(MAKE) -C java/build clean
rmdep:
@echo "removing all dependency files"
@find . -name .\*.D -exec rm -f {} \; -print
rmobjs:
@echo "removing all object files"
rm -rf $(ECCE_HOME)/$(ECCE_SYSDIR)obj/*
rmlibs:
@echo "removing all ECCE libraries"
rm -rf $(LIB_PATH)/*
rmbins:
@echo "removing all ECCE binaries"
rm -rf $(BIN_PATH)/*
full:
# default target for templates is NOT update - so force
$(MAKE) clean
$(MAKE) default
fullfast:
$(MAKE) clean
$(MAKE) fast