]> git.zerfleddert.de Git - rigol/blobdiff - Makefile
defines for STATUS bytes
[rigol] / Makefile
index e5415d4357e1fa242a0d7bd6c881f1719fb932db..1383dd729a7e37f57eecbed765650e4fc20f26c1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,14 @@
 
 
-CFILES=rigol.c
-OFILES=rigol.o png.o usbtmc.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
 
 CC=gcc
 
-all: rigol raw2gp
+all: rigol rigold raw2gp
 
 
-rigol: $(OFILES)
+rigol: rigol.o $(OFILES)
 
 
-rigol.o: rigol.c
+rigold: rigold.o $(OFILES)
 
 clean:
 
 clean:
-       rm -f *.o rigol raw2gp *~
+       rm -f *.o rigol rigold raw2gp *~
Impressum, Datenschutz