rockbox/utils/MTP/Makefile
Maurus Cuelenaere 46d8302c7d Make sendfirm_win.c compile and work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17938 a1c6a512-1295-4272-9138-f99709370657
2008-07-04 11:38:08 +00:00

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)