summaryrefslogtreecommitdiffstats
path: root/misc/qemu_vfat/Makefile
blob: a9c740fe5bbc1e09d7c38715316550f3ede0429c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
#  RTEMS_MAKEFILE_PATH is typically set in an environment variable
#

PGM=${ARCH}/qemu_vfat.exe

# C source names
CSRCS = init.c start_test.c
COBJS = $(CSRCS:%.c=${ARCH}/%.o)

include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg

# Define this if you want to run the shell after mounting
# DEFINES += -DUSE_SHELL
# Defint this if you want to call start_test() instead
DEFINES += -DUSE_START_TEST

OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)

all:    ${ARCH} $(PGM)

$(PGM): $(OBJS)
	$(make-exe)