-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.incl
50 lines (31 loc) · 1 KB
/
Makefile.incl
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
# common 'include' for Makefile and BSDmakefile
# put all of the targets in here. all of the other stuff must go
# into the Makefile and BSDmakefile ('if' blocks, defaults)
tester:
$(MAKE) TESTER=1
powersupply:
$(MAKE) POWERSUPPLY=1
dualserial:
$(MAKE) DUALSERIAL=1
tester-clean:
-@if test -e *.o ; then rm *.o ; fi
-@if test -e sftardcalT ; then rm sftardcalT ; fi
@sync
powersupply-clean:
-@if test -e *.o ; then rm *.o ; fi
-@if test -e sftardcalPS ; then rm sftardcalPS ; fi
@sync
dualserial-clean:
-@if test -e *.o ; then rm *.o ; fi
-@if test -e DualSerial ; then rm DualSerial ; fi
@sync
sftardcal-clean:
-@if test -e *.o ; then rm *.o ; fi
-@if test -e sftardcal ; then rm sftardcal ; fi
@sync
clean: tester-clean powersupply-clean sftardcal-clean dualserial-clean
-@if test -e *.core ; then rm *.core ; fi
@sync
$(MY_TARGET): sftardcal.c sftardcal.h $(DEVICE_SPECIFIC)
$(CC) -o $(MY_TARGET) $(STANDARD_DEFINES) $(DEVICE_DEFINES) sftardcal.c $(DEVICE_SPECIFIC_C)
@sync