index
:
rockbox
2048sp5
duke3d
master
puzzles
puzzlesmanual
quake5
wolf3d
working
xracer
My Rockbox tree
Franklin Wei
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
utils
/
themeeditor
/
graphics
diff options
context:
1
2
3
4
5
6
= -Wall LIBS
= -
lmtp OUTPUT
=
sendfirm EXTRA_CFLAGS
= $(
shell
printf \
'\#include <libmtp.h>
\n
libmtp version: LIBMTP_VERSION
\n
'
| \ gcc
-
E
-
P
- -
o
-
| grep
-
q
'^libmtp version: 0\.2'
&&
echo
'-DOLDMTP'
)
all
: $(
OUTPUT
)
$(
OUTPUT
):
sendfirm.c gcc
$(
EXTRA_CFLAGS
) $(
CFLAGS
) $(
LIBS
) -
o
$(
OUTPUT
)
sendfirm.c
$(
OUTPUT
)
.exe
:
sendfirm_win.c mingw32-gcc
$(
CFLAGS
) -
o
$(
OUTPUT
)
.exe sendfirm_win.c MTP_DLL.dll
clean
:
rm
-
f
$(
OUTPUT
)