]> git.zerfleddert.de Git - rigol/blobdiff - Makefile
be a bit more HTTP compliant...
[rigol] / Makefile
index d499492d0f03487fdd4fd1b827099d5a05e89e39..9e33a75db84780cdadf6c6d09b3ff70608fa4d56 100644 (file)
--- 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
+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 *~
Impressum, Datenschutz