Browse Source

Don't generate *.d file for the final binaries

pull/1/head
falkTX 10 years ago
parent
commit
0a55a2d950
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Makefile.mk
  2. +2
    -2
      plugins/Makefile.mk

+ 1
- 1
Makefile.mk View File

@@ -22,7 +22,7 @@ endif
# -------------------------------------------------------------- # --------------------------------------------------------------
# Set build and link flags # Set build and link flags


BASE_FLAGS = -Wall -Wextra -pipe -MD -MP
BASE_FLAGS = -Wall -Wextra -pipe
BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections


ifneq ($(MACOS),true) ifneq ($(MACOS),true)


+ 2
- 2
plugins/Makefile.mk View File

@@ -69,10 +69,10 @@ all:
# Common # Common


%.c.o: %.c %.c.o: %.c
$(CC) $< $(BUILD_C_FLAGS) -c -o $@
$(CC) $< $(BUILD_C_FLAGS) -MD -MP -c -o $@


%.cpp.o: %.cpp %.cpp.o: %.cpp
$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -MD -MP -c -o $@


clean: clean:
rm -f *.d *.o rm -f *.d *.o


Loading…
Cancel
Save