Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -62,8 +62,7 @@ ARCH_SRC = x86-arch.c ...@@ -62,8 +62,7 @@ ARCH_SRC = x86-arch.c
OS_SRC = os-common.c e_rem_pio2.c k_rem_pio2.c OS_SRC = os-common.c e_rem_pio2.c k_rem_pio2.c
NM = nm -gp NM = nm -gp
DEPEND = $(CC) -MM -E DEPEND_FLAGS = -MM
DEPEND_FLAGS =
# This no longer has aliasing problems, so no need to use # This no longer has aliasing problems, so no need to use
# -ffloat-store and -fno-strict-aliasing anymore. # -ffloat-store and -fno-strict-aliasing anymore.
......
...@@ -58,7 +58,7 @@ clean: ...@@ -58,7 +58,7 @@ clean:
depend: Depends depend: Depends
Depends: ${SRCS} Depends: ${SRCS}
$(DEPEND) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $^ > ,depends $(CC) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $^ > ,depends
mv ,depends Depends mv ,depends Depends
-include Depends -include Depends
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment