summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5a5d78)
raw | patch | inline | side by side (parent: b5a5d78)
author | Wendy Liang <jliang@xilinx.com> | |
Tue, 6 Jan 2015 05:34:39 +0000 (21:34 -0800) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Mon, 6 Apr 2015 07:23:12 +0000 (17:23 +1000) |
change the file line ending stype from dos to unix
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 9703385639cb98bffe15d209d028d9c88968032a..4ee775df814db0844311daf24813a1e4edfaef5f 100644 (file)
--- a/Makefile
+++ b/Makefile
-# Make file to create ipc stack library.\r
-\r
-# Include commons make file to get platform and tool chain specific variables.\r
-include Makefile.commons\r
-\r
-LIB := libs/open_amp/libopen_amp.a\r
-\r
-HEADERS += \\r
-$(wildcard */*.h) \\r
-$(wildcard *.h)\r
-\r
-C_SRCFILES += \\r
-$(wildcard *.c) \\r
-$(wildcard */*.c) \\r
-$(wildcard */*/*/*.c) \\r
-$(wildcard */*/*.c)\r
-\r
-AS_SRCFILES += \\r
-$(wildcard *.S) \\r
-$(wildcard */*.S) \\r
-$(wildcard */*/*/*.S) \\r
-$(wildcard */*/*.S)\r
-\r
-OBJFILES := $(patsubst %.c, %.o, $(C_SRCFILES)) $(patsubst %.S, %.o, $(AS_SRCFILES))\r
-\r
-DEPFILES := $(patsubst %.c, %.d, $(C_SRCFILES)) $(patsubst %.S, %.d, $(AS_SRCFILES))\r
-\r
-all: $(LIB)\r
-\r
-$(LIB): $(OBJFILES)\r
- @echo AR $@\r
- @$(AR) -r $@ $(OBJFILES)\r
-\r
-%.o:%.c $(HEADERS)\r
- @echo CC $(<:.c=.o)\r
- @$(CC) $(CFLAGS) $(ARCH_CFLAGS) $(INCLUDE) -c $< -o $@\r
-\r
-%.o:%.S\r
- @echo AS $(<:.S=.o)\r
- @$(AS) $(ARCH_ASFLAGS) $(INCLUDE) $< -o $@\r
-\r
-clean:\r
- -$(RM) $(LIB) $(OBJFILES) $(DEPFILES)\r
-\r
-PHONY: all clean\r
+# Make file to create ipc stack library.
+
+# Include commons make file to get platform and tool chain specific variables.
+include Makefile.commons
+
+LIB := libs/open_amp/libopen_amp.a
+
+HEADERS += \
+$(wildcard */*.h) \
+$(wildcard *.h)
+
+C_SRCFILES += \
+$(wildcard *.c) \
+$(wildcard */*.c) \
+$(wildcard */*/*/*.c) \
+$(wildcard */*/*.c)
+
+AS_SRCFILES += \
+$(wildcard *.S) \
+$(wildcard */*.S) \
+$(wildcard */*/*/*.S) \
+$(wildcard */*/*.S)
+
+OBJFILES := $(patsubst %.c, %.o, $(C_SRCFILES)) $(patsubst %.S, %.o, $(AS_SRCFILES))
+
+DEPFILES := $(patsubst %.c, %.d, $(C_SRCFILES)) $(patsubst %.S, %.d, $(AS_SRCFILES))
+
+all: $(LIB)
+
+$(LIB): $(OBJFILES)
+ @echo AR $@
+ @$(AR) -r $@ $(OBJFILES)
+
+%.o:%.c $(HEADERS)
+ @echo CC $(<:.c=.o)
+ @$(CC) $(CFLAGS) $(ARCH_CFLAGS) $(INCLUDE) -c $< -o $@
+
+%.o:%.S
+ @echo AS $(<:.S=.o)
+ @$(AS) $(ARCH_ASFLAGS) $(INCLUDE) $< -o $@
+
+clean:
+ -$(RM) $(LIB) $(OBJFILES) $(DEPFILES)
+
+PHONY: all clean