X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/0b7a29d92ef3656b4c740b313f901a9d62f593a3..8e60ee60c04ec12ceac8f3cbc04cebe7a9c1efd8:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index d499492..12b4cc7 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,14 @@ -CFILES=rigol.c -OFILES=rigol.o 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 -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 *~ + rm -f *.o rigol rigold raw2gp *~