X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/037166c11a9f4984d999639cf626e6f66de547fc..483a564bf0578b64b25c68ffabdfdc0fb9f0f2b7:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 8674bf8..1383dd7 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,14 @@ -CFILES=rigol.c -OFILES=rigol.o -CFLAGS=-O2 -Wall -LDFLAGS=-lusb -lreadline +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: rigol.o $(OFILES) - -rigol: $(OFILES) - -rigol.o: rigol.c +rigold: rigold.o $(OFILES) clean: - rm -f *.o rigol raw2gp *~ + rm -f *.o rigol rigold raw2gp *~