X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/3df147113765d5a8ba192795d2be9b7e3e295749..713be7a43ed11947c358fc67c11b9df7b0be204c:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 2c14bad..9e33a75 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,14 @@ -CFILES=rigol.c -OFILES=rigol.o png.o -CFLAGS=-O2 -Wall -LDFLAGS=-lusb -lreadline -lz +OFILES=png.o usbtmc.o commands.o scope.o +CFLAGS=-O2 -Wall -I/opt/local/include +LDFLAGS=-L/opt/local/lib -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 *~