-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (54 loc) · 1.18 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
all:
printf "GACODE BRANCH: %s\n" `git branch | cut -d' ' -f2` > .VERSION
gacode_getversion >> .VERSION
cd shared ; make
cd neo ; make
cd vgen ; make
cd tglf ; make
cd cgyro ; make
cd xgyro ; make
cd gyro ; make
cd tgyro ; make
cd profiles_gen ; make
cd f2py ; make
cd qlgyro ; make
@echo "GACODE build done"
clean:
rm -f .VERSION
cd shared ; make clean
cd shared/hybridtest ; make clean
cd neo ; make clean
cd vgen ; make clean
cd tglf ; make clean
cd cgyro ; make clean
cd xgyro ; make clean
cd gyro ; make clean
cd tgyro ; make clean
cd profiles_gen ; make clean
cd f2py ; make clean
cd qlgyro ; make clean
rm -f f2py/*/*.pyc
rm -f f2py/*.pyc
rm -f f2py/pygacode/*/*.pyc
rm -rf f2py/*/__pycache__
rm -rf f2py/__pycache__
rm -rf f2py/pygacode/*/__pycache__
rm -f modules/*genmod*
rm -f *.log
rm -rf *regression_test/
rm -rf python
distclean:
cd shared ; make distclean
cd neo ; make clean
cd tglf ; make clean
cd cgyro ; make clean
cd xgyro ; make clean
cd gyro ; make clean
cd tgyro ; make clean
cd profiles_gen ; make clean
cd f2py ; make clean
cd qlgyro ; make clean
rm -f python/*/*.pyc
rm -f python/*.pyc
rm -f modules/*genmod*
rm -f modules/*.mod