-
Notifications
You must be signed in to change notification settings - Fork 68
/
Makefile
58 lines (52 loc) · 2.06 KB
/
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
56
57
58
##----------------------------------------------------------------------------##
##
## CARLsim3 Main Makefile
## ----------------------
##
## Authors: Michael Beyeler <[email protected]>
## Kristofor Carlson <[email protected]>
##
## Institute: Cognitive Anteater Robotics Lab (CARL)
## Department of Cognitive Sciences
## University of California, Irvine
## Irvine, CA, 92697-5100, USA
##
## Version: 03/04/2017
##
##----------------------------------------------------------------------------##
# the following are filled in the include files and passed up
targets :=
objects :=
clean_objects :=
libraries :=
output_folders := doc/html
.PHONY: default clean distclean help
default: release
include carlsim/configure.mk # import configuration settings
include carlsim/carlsim.mk # import CARLsim-related variables and rules
include carlsim/libcarlsim.mk # import libCARLsim-related variables and rules
include carlsim/test.mk # import test-related variables and rules
# clean all objects
clean:
$(RM) $(clean_objects)
# clean all objects and output files
distclean:
$(RM) $(clean_objects) $(targets) $(libraries)
$(RMR) $(output_folders)
# print a help message
help:
@ echo
@ echo "CARLsim3 Makefile options:"
@ echo
@ echo "make Compiles CARLsim3 in default mode (release)"
@ echo "make release Compiles CARLsim3 in release mode (no debug output,"
@ echo " using fast math and GPU optimization level 3)"
@ echo "make debug Compiles CARLsim3 in debug mode (-g -Wall)"
@ echo "make test Compile CARLsim3 tests"
@ echo "make -E install Installs CARLsim3 library (make sure -E is set; may"
@ echo " require root privileges)"
@ echo "make -E uninstall Uninstalls CARLsim3 library (make sure -E is set; may"
@ echo " require root privileges)"
@ echo "make clean Cleans out all object files"
@ echo "make distclean Cleans out all object and output files"
@ echo "make help Brings up this message"