head	1.3;
access;
symbols
	bg2_23:1.3
	bg2_22:1.3
	bg2_21:1.3
	bg2_20:1.3
	bg2_16:1.3
	bg2_15:1.3
	bg2_12:1.3
	bg2_07:1.3;
locks; strict;
comment	@# @;


1.3
date	2008.04.14.12.44.25;	author jeuneS2;	state Exp;
branches;
next	1.2;
commitid	74e64803517e4567;

1.2
date	2008.04.04.16.30.49;	author jeuneS2;	state Exp;
branches;
next	1.1;
commitid	624147f6577e4567;

1.1
date	2008.02.03.12.34.38;	author jeuneS2;	state Exp;
branches;
next	;
commitid	790e47a5b4c24567;


desc
@@


1.3
log
@Removing flag -ansi, because it causes trouble on some systems.
@
text
@CC=gcc
CFLAGS=-pedantic -Wall

ifeq ($(WINDIR),)
	LDLIBS=-lftdi
else
	LDLIBS=FTD2XX.lib
endif

all: USBRunner

USBRunner: usbRunner.o jb_const.o jb_device.o jb_io.o jb_jtag.o compat.o
	$(CC) $(LDFLAGS) -o $@@ $^ $(LDLIBS)

compat.o: compat.c compat.h FTD2XX.H
jb_const.o: jb_const.c jb_const.h jb_io.h compat.h
jb_device.o: jb_device.c jb_device.h
jb_io.o: jb_io.c jb_const.h jb_io.h compat.h jb_jtag.h
jb_jtag.o: jb_jtag.c jb_const.h jb_io.h compat.h jb_jtag.h
usbRunner.o: usbRunner.c jb_const.h jb_io.h compat.h jb_device.h jb_jtag.h

clean::
	rm -f *.o *~
@


1.2
log
@More useful error messages.
@
text
@d2 1
a2 1
CFLAGS=-ansi -pedantic -Wall
@


1.1
log
@New version, working on Windows and Linux.
@
text
@d1 1
d13 1
a13 1
	gcc $(LDFLAGS) -o $@@ $^ $(LDLIBS)
d23 1
a23 1
	rm -f *.o *~@

