Commit b9cf3661 authored by Raymond Toy's avatar Raymond Toy
Browse files

Clean up DEPENDS

 * GNUmakefile
   * Replace $(DEPENDS) with $(CC)
 * Config.x86_common
   * Set DEPENDS_FLAG to -MM
parent c349b260
......@@ -62,8 +62,7 @@ ARCH_SRC = x86-arch.c
OS_SRC = os-common.c e_rem_pio2.c k_rem_pio2.c
NM = nm -gp
DEPEND = $(CC) -MM -E
DEPEND_FLAGS =
DEPEND_FLAGS = -MM
# This no longer has aliasing problems, so no need to use
# -ffloat-store and -fno-strict-aliasing anymore.
......
......@@ -58,7 +58,7 @@ clean:
depend: Depends
Depends: ${SRCS}
$(DEPEND) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $^ > ,depends
$(CC) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $^ > ,depends
mv ,depends Depends
-include Depends
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment