zephyr/samples/environmental_sensing/Makefile
Anas Nashif c0f0dd9734 samples: env sensing: restrurcture and cleanup docs
- move documentation to rst
- add a top level Makefile
- remove obsolete configurations

Change-Id: I8674b67e0383497cbbb0b6e861b78d8c7f7378a5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-01-05 19:56:37 -05:00

23 lines
364 B
Makefile

# Sensor Subsystem
SS_APP = sensor
# Application Processor
APP = ap
all: sensor_app ap_app
sensor_app:
$(MAKE) -C $(SS_APP) O=$(CURDIR)/outdir/$(SS_APP)
ap_app:
$(MAKE) -C $(APP) O=$(CURDIR)/outdir/$(APP)
flash: sensor_app ap_app
$(MAKE) -C $(SS_APP) O=outdir/$(SS_APP) flash
$(MAKE) -C $(APP) O=outdir/$(APP) flash
pristine:
@rm -rf $(CURDIR)/outdir