]> git.zerfleddert.de Git - rigol/blobdiff - Makefile
tokens can be NULL
[rigol] / Makefile
index d499492d0f03487fdd4fd1b827099d5a05e89e39..54c52abc81bb789299e9ef10997a1f2305883530 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,14 @@
 
-CFILES=rigol.c
-OFILES=rigol.o png.o usbtmc.o commands.o
+OFILES=png.o usbtmc.o commands.o
 CFLAGS=-O2 -Wall
 LDFLAGS=-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