jtag

commandline jtag stuff
git clone http://frotz.net/git/jtag.git
Log | Files | Refs | README

Makefile (526B)


      1 
      2 CFLAGS := -g -Wall
      3 LIBS := -lusb-1.0
      4 
      5 all: jload jinfo jconsole
      6 
      7 jinfo.c: jtag.h
      8 jload.c: jtag.h
      9 jconsole.c: jtag.h
     10 jtag.c: jtag.h
     11 jtag-virtual.c: jtag.h
     12 
     13 JLOAD_OBJS := jload.o jtag-virtual.o jtag.o
     14 jload: $(JLOAD_OBJS)
     15 	$(CC) -o jload $(JLOAD_OBJS) $(LIBS)
     16 
     17 JINFO_OBJS := jinfo.o jtag-virtual.o jtag.o
     18 jinfo: $(JINFO_OBJS)
     19 	$(CC) -o jinfo $(JINFO_OBJS) $(LIBS)
     20 
     21 JCONSOLE_OBJS := jconsole.o jtag-virtual.o jtag.o
     22 jconsole: $(JCONSOLE_OBJS)
     23 	$(CC) -o jconsole $(JCONSOLE_OBJS) $(LIBS)
     24 
     25 clean::
     26 	rm -f jload jinfo jconsole *.o