1 # Top level convenience make file
5 @echo
"######################## Welcome to FreeEMS! ########################"
7 @echo
"To build, choose a target from the below list and type 'make target'!"
8 @echo
"For example, to build blank unconfigured firmware type 'make BLANK'"
9 @echo
"Note: For BenchTest to work you MUST build using the BENCHTEST target!"
10 @echo
"Advanced users can find more options available in the src/main directory!"
14 @make
-qp | awk
-F
':' '/^[a-zA-Z0-9][^$$#\/\t=]*:([^=]|$$)/ {split($$1,A,/ /);for(i in A)print A[i]}'
17 cd src
/main
; ..
/..
/bin
/testclibuilds.bash
20 cd src
/main
; make
clean s19
23 cd src
/main
; make
clean
25 SPECIAL
: # Can use a dependency here instead.
26 cd src
/main
; make
clean EvenTeeth-Distributor-4of6and1
29 # Other special builds
32 cd src
/main
; CLIFLAGS
="DEFAULT" make
clean BenchTest
34 cd src
/main
; CLIFLAGS
="$@" make
clean MitsiAndMazda-CAS-4and1
36 cd src
/main
; CLIFLAGS
="$@" make
clean HallOrOptical-Distributor-4of69
38 cd src
/main
; CLIFLAGS
="$@" make
clean EvenTeeth-Cam-24and1
40 cd src
/main
; CLIFLAGS
="$@" make
clean GM-LT1-CAS-360and8
42 cd src
/main
; CLIFLAGS
="$@" make
clean EvenTeeth-Cam-24and1
44 cd src
/main
; CLIFLAGS
="$@" make
clean MissingTeeth-Crank-8minus1
46 cd src
/main
; CLIFLAGS
="$@" make
clean MissingTeeth-Crank-12minus1
48 cd src
/main
; CLIFLAGS
="$@" make
clean JSeries-12CrankWith6-2Cam
50 cd src
/main
; CLIFLAGS
="$@" make
clean EvenTeeth-Cam-6and1
52 cd src
/main
; CLIFLAGS
="$@" make
clean MissingTeeth-Cam-12minus1
54 cd src
/main
; CLIFLAGS
="$@" make
clean MitsiAndMazda-CAS-4and2
56 cd src
/main
; CLIFLAGS
="$@" make
clean EvenTeeth-Cam-4and1