mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
It's not needed unless you are including headers in the current directory _and_ you can't use "" instead of <> because the headers are to be installed. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
27 lines
529 B
Makefile
27 lines
529 B
Makefile
# Base definitions and rules (XEN_ROOT must be defined in including Makefile)
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
#
|
|
# Tool definitions
|
|
#
|
|
|
|
# General compiler flags
|
|
CFLAGS = -Werror -g3
|
|
|
|
# Generic project files
|
|
HDRS = $(wildcard *.h)
|
|
SRCS = $(wildcard *.c)
|
|
OBJS = $(patsubst %.c,%.o,$(SRCS))
|
|
|
|
# Generic (non-header) dependencies
|
|
$(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm/Rules.mk
|
|
|
|
$(OBJS): $(SRCS)
|
|
|
|
-include $(DEPS)
|
|
|
|
BUILD_EMULATOR = y
|
|
|
|
# Make sure these are just rules
|
|
.PHONY : all build install clean
|