-OFILES=png.o usbtmc.o commands.o
-CFLAGS=-O2 -Wall
-LDFLAGS=-lusb -lreadline -lz
+OFILES=png.o usbtmc.o commands.o scope.o
+CFLAGS=-O2 -Wall -I/opt/local/include -g
+LDFLAGS=-L/opt/local/lib -lusb-1.0 -lreadline -lz
CC=gcc
all: rigol rigold raw2gp
rigold: rigold.o $(OFILES)
clean:
- rm -f *.o rigol raw2gp *~
+ rm -f *.o rigol rigold raw2gp *~