2007-11-22 18:07:40 +00:00
|
|
|
CFLAGS = -Wall
|
|
|
|
LIBS = -lmtp
|
|
|
|
OUTPUT = sendfirm
|
|
|
|
|
|
|
|
all: $(OUTPUT)
|
|
|
|
|
|
|
|
$(OUTPUT): sendfirm.c
|
|
|
|
gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c
|
|
|
|
|
2008-07-03 23:30:28 +00:00
|
|
|
$(OUTPUT).exe: sendfirm_win.c
|
|
|
|
gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll
|
|
|
|
|
2007-11-22 18:07:40 +00:00
|
|
|
clean:
|
|
|
|
rm -f $(OUTPUT)
|