summaryrefslogtreecommitdiffstats
path: root/utils/MTP/Makefile
blob: 63e7b3adf51edfdf202fbdc642a054c882da821c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS = -Wall
LIBS = -lmtp
OUTPUT = sendfirm

all: $(OUTPUT)

$(OUTPUT): sendfirm.c
	gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c

$(OUTPUT).exe: sendfirm_win.c
	gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll

clean:
	rm -f $(OUTPUT)