diff options
| author | Joey Castillo <jose.castillo@gmail.com> | 2021-09-16 15:40:01 -0400 |
|---|---|---|
| committer | Joey Castillo <jose.castillo@gmail.com> | 2021-09-16 15:40:01 -0400 |
| commit | 07420e6ead840973d7136222b8e872261a7b18b8 (patch) | |
| tree | 72c8af88f945c0d4f8b2a3b467994ccc8cc7bfd8 /apps/Sensor Watch Starter Project/make | |
| parent | b3de08343b7db4ed380cdfa3ca0df824728999b1 (diff) | |
| download | Sensor-Watch-07420e6ead840973d7136222b8e872261a7b18b8.tar.gz Sensor-Watch-07420e6ead840973d7136222b8e872261a7b18b8.tar.bz2 Sensor-Watch-07420e6ead840973d7136222b8e872261a7b18b8.zip | |
move apps to subdirectory, add relative path support to Makefile
Diffstat (limited to 'apps/Sensor Watch Starter Project/make')
| -rwxr-xr-x | apps/Sensor Watch Starter Project/make/.gitignore | 1 | ||||
| -rwxr-xr-x | apps/Sensor Watch Starter Project/make/Makefile | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/apps/Sensor Watch Starter Project/make/.gitignore b/apps/Sensor Watch Starter Project/make/.gitignore new file mode 100755 index 00000000..3722ac63 --- /dev/null +++ b/apps/Sensor Watch Starter Project/make/.gitignore @@ -0,0 +1 @@ +build/
diff --git a/apps/Sensor Watch Starter Project/make/Makefile b/apps/Sensor Watch Starter Project/make/Makefile new file mode 100755 index 00000000..09a59a05 --- /dev/null +++ b/apps/Sensor Watch Starter Project/make/Makefile @@ -0,0 +1,26 @@ +# Leave these lines at the top of the file. +# TOP should get us to the root of the project... +TOP = ../../.. +# ...and make.mk has all the watch library sources and includes. +include $(TOP)/make.mk + +# If you add any other subdirectories with header files you wish to include, add them after ../ +# Note that you will need to add a backslash at the end of any line you wish to continue, i.e. +# INCLUDES += \ +# -I../ \ +# -I../drivers/ \ +# -I../utils/ +INCLUDES += \ + -I../ \ + +# If you add any other source files you wish to compile, add them after ../app.c +# Note that you will need to add a backslash at the end of any line you wish to continue, i.e. +# SRCS += \ +# ../app.c \ +# ../drivers/bmp280.c \ +# ../utils/temperature.c +SRCS += \ + ../app.c \ + +# Leave this line at the bottom of the file; rules.mk has all the targets for making your project. +include $(TOP)/rules.mk |
