Update scripts, tested script fails to push if dev doesn't exist.
[freeems-vanilla.git] / Makefile
blob747f3575d9ca05d371dc4e23c5896287e79ceb8e
1 # Top level convenience make file
3 Help:
4 @echo
5 @echo "######################## Welcome to FreeEMS! ########################"
6 @echo
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 will find more options available in the src directory!"
11 @echo
12 @echo "Options:"
13 @echo
14 @make -qp | awk -F':' '/^[a-zA-Z0-9][^$$#\/\t=]*:([^=]|$$)/ {split($$1,A,/ /);for(i in A)print A[i]}'
16 TEST_AND_SAVE_ALL:
17 cd src; ../bin/testclibuilds.bash
19 BLANK:
20 cd src; make clean s19
22 SPECIAL: # Can use a dependency here instead.
23 cd src; make clean EvenTeeth-Distributor-4of6and1
26 # Other special builds
28 BENCHTEST:
29 cd src; CLIFLAGS="DEFAULT" make clean BenchTest
30 TRUCK:
31 cd src; CLIFLAGS="$@" make clean MitsiAndMazda-CAS-4and1
32 HOTEL:
33 cd src; CLIFLAGS="$@" make clean HallOrOptical-Distributor-4of69
34 PRESTO:
35 cd src; CLIFLAGS="$@" make clean EvenTeeth-Cam-24and1
36 SEANKLT1:
37 cd src; CLIFLAGS="$@" make clean GM-LT1-CAS-360and8
38 SNOTROCKET:
39 cd src; CLIFLAGS="$@" make clean EvenTeeth-Cam-24and1
40 SPUDMN:
41 cd src; CLIFLAGS="$@" make clean MissingTeeth-Crank-8minus1
42 SLATER:
43 cd src; CLIFLAGS="$@" make clean MissingTeeth-Crank-12minus1
44 PETERJSERIES:
45 cd src; CLIFLAGS="$@" make clean JSeries-12CrankWith6-2Cam
46 DEUCECOUPE:
47 cd src; CLIFLAGS="$@" make clean EvenTeeth-Cam-6and1
48 PETERTRUCK:
49 cd src; CLIFLAGS="$@" make clean MissingTeeth-Cam-12minus1