Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #2772: Makefile.am

File Makefile.am, 585 bytes (added by Kuan-Hsun Chen, on 08/05/16 at 16:38:27)

Example Makefile

Line 
1
2rtems_tests_PROGRAMS = sprmsched01
3sprmsched01_SOURCES = init.c tasks.c system.h
4       
5dist_rtems_tests_DATA = sprmsched01.scn
6dist_rtems_tests_DATA += sprmsched01.doc
7
8include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
9include $(top_srcdir)/../automake/compile.am
10include $(top_srcdir)/../automake/leaf.am
11
12AM_CPPFLAGS += -I$(top_srcdir)/../support/include
13
14LINK_OBJS = $(sprmsched01_OBJECTS)
15LINK_LIBS = $(sprmsched01_LDLIBS)
16
17sprmsched01$(EXEEXT): $(sprmsched01_OBJECTS) $(sprmsched01_DEPENDENCIES)
18        @rm -f sprmsched01$(EXEEXT)
19        $(make-exe)
20
21include $(top_srcdir)/../automake/local.am