blob: 9cbacd85d64977654a4cdaf89efd18ce89085f48 [file] [log] [blame]
Nicolas Pennequin3e2c51d2007-11-22 18:07:40 +00001CFLAGS = -Wall
2LIBS = -lmtp
3OUTPUT = sendfirm
4
5all: $(OUTPUT)
6
7$(OUTPUT): sendfirm.c
8 gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c
9
Maurus Cuelenaere93665012008-07-03 23:30:28 +000010$(OUTPUT).exe: sendfirm_win.c
Maurus Cuelenaere46d83022008-07-04 11:38:08 +000011 mingw32-gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll
Maurus Cuelenaere93665012008-07-03 23:30:28 +000012
Nicolas Pennequin3e2c51d2007-11-22 18:07:40 +000013clean:
14 rm -f $(OUTPUT)