mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-01 05:03:55 +00:00
Add the Makefile in the SampleApplication root directory. User don't need to separate build the userapp and rtapp, just need make once at the SampleApplication root directory. Tracked-On #7820 Signed-off-by: Liu Long <long.liu@linux.intel.com>
15 lines
269 B
Makefile
15 lines
269 B
Makefile
CC = gcc
|
|
CXX ?= g++
|
|
T := $(CURDIR)
|
|
OUT_DIR ?= $(shell mkdir -p $(T)i/../build;cd $(T)/../build;pwd)
|
|
|
|
CFLAGS = -Wall -Wextra -Wabi=11 -pedantic
|
|
|
|
LDLIBS = -lrt -pthread
|
|
|
|
all: rtApp.c
|
|
$(CXX) $(CFLAGS) -o $(OUT_DIR)/rtApp rtApp.c ivshmemlib.c
|
|
|
|
clean:
|
|
rm $(OUT_DIR)/rtApp
|