-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
50 lines (39 loc) · 1.26 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
# Attention Circuits Control Laboratory - I/O SynchBox project
# Top-level Makefile.
# Written by Christopher Thomas.
# Copyright (c) 2021 by Vanderbilt University. This work is released under
# the Creative Commons Attribution-ShareAlike 4.0 International License.
default: helpscreen
helpscreen:
@echo ""
@echo "Targets: manual hex burn hwpkgs"
@echo ""
manual:
rm -f manuals/*pdf
make -C manuals-src clean all
mv manuals-src/*pdf manuals
# This rebuilds the hex file, copies it, then cleans up again.
hex:
make -C code-firmware -f Makefile.neuravr clean hex
make -C code-firmware -f Makefile.neuravr clean
burn:
make -C hexfiles burnard
# This recurses to rebuild hardware release packages for each sub-project.
hwpkgs:
make -C hardware-main release
make -C hardware-periphs release
# Undocumented target: Remove the hardware release packages.
hwclean:
make -C hardware-main clean
make -C hardware-periphs clean
# Undocumented target: Rebuild photos.
# This requires my "photos-orig" source tree, which isn't in the repository.
# The rebuild scripts fail non-destructively if that's missing, but it'll
# still confuse the user.
pics:
make -C photos rebuild
# Undocumented target: Remove photos.
picclean:
make -C photos clean
#
# This is the end of the file.