X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/58a9e2764568da62bbb285f8892d68d028674d4a..659f6954a480994415f72580df61635fba3d877f:/Makefile diff --git a/Makefile b/Makefile index e5415d4..54c52ab 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,14 @@ -CFILES=rigol.c -OFILES=rigol.o png.o usbtmc.o +OFILES=png.o usbtmc.o commands.o CFLAGS=-O2 -Wall LDFLAGS=-lusb -lreadline -lz CC=gcc -all: rigol raw2gp +all: rigol rigold raw2gp -rigol: $(OFILES) +rigol: rigol.o $(OFILES) -rigol.o: rigol.c +rigold: rigold.o $(OFILES) clean: rm -f *.o rigol raw2gp *~