| 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 |
include ../../Makefile.common |
| 24 |
include ../../Makefile.user |
| 25 |
|
| 26 |
|
| 27 |
all:: $(PROGRAMS) |
| 28 |
@# nothing to do here but do it silently |
| 29 |
|
| 30 |
.depend: *.[cC] |
| 31 |
$(MAKEDEPEND) *.[cC] > .depend |
| 32 |
|
| 33 |
depend:: .depend |
| 34 |
@# nothing to do here but do it silently |
| 35 |
|
| 36 |
# NOTE: --format=1 is not supported on Linux ([ce]tags from emacs2[01] packages) |
| 37 |
# please set in your own environment |
| 38 |
tag: |
| 39 |
-ctags *.[cC] $(BRICKOS_ROOT)/include/*.h $(BRICKOS_ROOT)/include/*/*.h |
| 40 |
-etags *.[cC] $(BRICKOS_ROOT)/include/*.h $(BRICKOS_ROOT)/include/*/*.h |
| 41 |
|
| 42 |
clean: |
| 43 |
rm -f *.o *.dis *.dis2 *~ *.bak *.tgz *.s *.ds1 *.ds2 *.dmap *.dcoff |
| 44 |
rm -f *.srec *.map *.coff |
| 45 |
|
| 46 |
realclean: clean |
| 47 |
rm -f *.lx .depend tags TAGS |
| 48 |
|
| 49 |
.PHONY: all depend tag clean realclean |
| 50 |
|
| 51 |
# depencencies |
| 52 |
# |
| 53 |
ifndef NODEPS |
| 54 |
-include .depend |
| 55 |
endif |
| 56 |
|
| 57 |
|
| 58 |
### -------------------------------------------------------------------------- |
| 59 |
### End of FILE: demo/c++/Makefile |
| 60 |
### ========================================================================== |