Support for Win32, via mingw. Precompiled .exe added. Support for OSX, must open device with O_NONBLOCK Added bootloader search timeout Updated docs
13 lines
224 B
Makefile
13 lines
224 B
Makefile
# Makefile for Win32, using MingW32 GCC toolchain
|
|
|
|
CROSS_COMPILE=/usr/bin/i586-mingw32msvc-
|
|
CFLAGS=-Wall
|
|
TARGET=cctl-prog
|
|
|
|
all:
|
|
$(CROSS_COMPILE)gcc -o $(TARGET).exe $(CFLAGS) $(TARGET).c hex.c
|
|
|
|
clean:
|
|
rm -f $(TARGET).exe
|
|
|