Debian Codegraph @

demo/c++/Makefile

raw ◀ ▶
1 Debian patch touch this file
1 ### ==========================================================================
2 ### $Id: Makefile,v 1.9 2002/10/23 17:42:44 stephmo Exp $
3 ### FILE: demo/c++/Makefile - make the C++ Language Demo Programs
4 ### brickOS - the independent LEGO Mindstorms OS
5 ### --------------------------------------------------------------------------
6
7 # #LIBDIR# ### DO NOT REMOVE THIS LINE ###
8 KERNEL = $(BRICKOS_ROOT)/boot/brickOS
9
10 PROGRAMS = \
11 rover.lx \
12 batt.lx sensor.lx lightSensor.lx \
13 rotationSensor.lx \
14 rotation.velocity.Sensor.lx \
15 touchSensor.lx \
16 touch.pressed.Sensor.lx \
17 motor.lx sound.lx activeSensor.lx temperatureSensor.lx \
18 raceTrack.lx lampTest.lx
19
20 # extra dynamic sources
21 DOBJECTS=
22
•23 all:: $(PROGRAMS)
24
25 include ../../Makefile.common
26 include ../../Makefile.user
27
28 .depend: *.[cC]
29 $(MAKEDEPEND) *.[cC] > .depend
30
31 depend:: .depend
32 @# nothing to do here but do it silently
33
34 # NOTE: --format=1 is not supported on Linux ([ce]tags from emacs2[01] packages)
35 # please set in your own environment
36 tag:
37 -ctags *.[cC] $(BRICKOS_ROOT)/include/*.h $(BRICKOS_ROOT)/include/*/*.h
38 -etags *.[cC] $(BRICKOS_ROOT)/include/*.h $(BRICKOS_ROOT)/include/*/*.h
39
40 clean:
41 rm -f *.o *.dis *.dis2 *~ *.bak *.tgz *.s *.ds1 *.ds2 *.dmap *.dcoff
42 rm -f *.srec *.map *.coff
43
44 realclean: clean
45 rm -f *.lx .depend tags TAGS
46
47 .PHONY: all depend tag clean realclean
48
49 # depencencies
50 #
51 ifndef NODEPS
52 -include .depend
53 endif
54
55
56 ### --------------------------------------------------------------------------
57 ### End of FILE: demo/c++/Makefile
58 ### ==========================================================================