From 64b553e66c360459b327b057fe32f88360376bb1 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Tue, 30 Aug 2011 22:07:05 +0430 Subject: [PATCH] Makefile: most C compilers expect -c --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de02e20..10f6e7a 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ all: start.o libc.a %.o: %.s $(AS) $^ >/dev/null %.o: %.c - $(CC) $(CFLAGS) $^ + $(CC) -c $(CFLAGS) $^ OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) OBJS2 = $(patsubst %.s,%.o,$(wildcard $(ARCH)/*.s)) -- 2.11.4.GIT