Browse Source

makefile: Fix MKDEP to work when cross compiling.

Georgi Chorbadzhiyski 8 years ago
parent
commit
05d5128c33
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Makefile

+ 1
- 1
Makefile View File

@@ -1,6 +1,6 @@
1 1
 CC = $(CROSS)$(TARGET)gcc
2 2
 LINK = $(CROSS)$(TARGET)ld -o
3
-MKDEP = $(CROSS)$(TARGET)$(CC) -M -o $*.d $<
3
+MKDEP = $(CC) -M -o $*.d $<
4 4
 
5 5
 LIBRARY_LINK_OPTS =  -L. -r
6 6
 CFLAGS = -O2 -ggdb -std=c99 -D_GNU_SOURCE

Loading…
Cancel
Save