]> git.zerfleddert.de Git - rigol/blobdiff - Makefile
unlock keyboard on release
[rigol] / Makefile
index 8674bf8c938130ef48ec95ab5cd890d3d41873bf..a5f6f55ac057173bbc3d67a64ec60186f05f0e5b 100644 (file)
--- 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
+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 *~
Impressum, Datenschutz