Merge Powerbook pcb updates
[SCSI2SD.git] / software / scsi2sd-config / Makefile.mingw
CommitLineData
7193c6f2
MM
1all: build/windows/32bit/scsi2sd-config.exe build/windows/64bit/scsi2sd-config.exe
2
3CFLAGS += -Wall
4LDFLAGS=-mconsole -mwindows -lsetupapi -lws2_32
5
6HID_C = ../bootloaderhost/hidapi/windows/hid.c
7
8
9build/windows/32bit/scsi2sd-config.exe: main.c $(HID_C)
10 mkdir -p $(dir $@)
11 i686-w64-mingw32-gcc $(CFLAGS) -I ../bootloaderhost/hidapi/hidapi $^ $(LDFLAGS) -o $@
12
13build/windows/64bit/scsi2sd-config.exe: main.c $(HID_C)
14 mkdir -p $(dir $@)
15 x86_64-w64-mingw32-gcc $(CFLAGS) -I ../bootloaderhost/hidapi/hidapi $^ $(LDFLAGS) -o $@
16
17clean:
18 rm -r build/windows
19