-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (26 loc) · 884 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
TOPDIR := $(CURDIR)
export TOPDIR
include build/Makefile.conf
subdir = build/config soft syn
all: armpctrl
dep:
build/extract.pl vhdl/.dep vhdl >.Makefile.dep
clean:
rm -rf work tags
for i in $(subdir) ; do $(MAKE) -f build/Makefile.clean obj=$$i cmd=doclean || exit 1; done
proper: clean
find . -type f | grep "~$$\\|.o$$\\|.cmd$$\\|.bck$$" | xargs rm -f
config:
-$(MAKE) -f build/Makefile.switch obj=build/config cmd=config
xconfig:
-$(MAKE) -f build/Makefile.switch obj=build/config xconfig
menuconfig:
-$(MAKE) -f build/Makefile.switch obj=build/config menuconfig
oldconfig:
-$(MAKE) -f build/Makefile.switch obj=build/config oldconfig
vsim: tbench tsoft
sim:
-$(MAKE) -f build/Makefile.switch obj=soft/sim sim
tsoft:
-$(MAKE) -f build/Makefile.switch obj=soft/tbenchsoft switchtarget
-include .Makefile.dep