Skip to content

Instantly share code, notes, and snippets.

@goog
Created April 10, 2019 10:00
Show Gist options
  • Save goog/36cab05f82aba548a432d616fc3c2cbe to your computer and use it in GitHub Desktop.
Save goog/36cab05f82aba548a432d616fc3c2cbe to your computer and use it in GitHub Desktop.
```
cheng@ubuntu:~/rtems-4.11.3/testsuites/samples/hello$ tree
.
├── hello.doc
├── hello.scn
├── init__0402.c
├── init0403.c
├── init.c
├── init.c_0001
├── init.c_0002
├── init (copy).c
├── led.h
├── Makefile.am
├── Makefile.am~
├── Makefile.in
├── oled.c
├── oledfont.h
├── oled.h
├── oled_iic.c
├── oled_iic.h
├── pins.h
└── README.md
0 directories, 19 files
cheng@ubuntu:~/rtems-4.11.3/testsuites/samples/hello$ cat Makefile.am
Makefile.am Makefile.am~
cheng@ubuntu:~/rtems-4.11.3/testsuites/samples/hello$ cat Makefile.am
rtems_tests_PROGRAMS = hello
hello_SOURCES = init.c oled.c oled_iic.c oled_iic.h oledfont.h led.h pins.h oled.h
dist_rtems_tests_DATA = hello.scn
dist_rtems_tests_DATA += hello.doc
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
LINK_OBJS = $(hello_OBJECTS)
LINK_LIBS = $(hello_LDLIBS)
hello$(EXEEXT): $(hello_OBJECTS) $(hello_DEPENDENCIES)
@rm -f hello$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
cheng@ubuntu:~/rtems-4.11.3/testsuites/samples/hello$
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment