46d8302c7d
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17938 a1c6a512-1295-4272-9138-f99709370657
14 lines
255 B
Makefile
14 lines
255 B
Makefile
CFLAGS = -Wall
|
|
LIBS = -lmtp
|
|
OUTPUT = sendfirm
|
|
|
|
all: $(OUTPUT)
|
|
|
|
$(OUTPUT): sendfirm.c
|
|
gcc $(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)
|