Commit | Line | Data |
---|---|---|
1 | ||
2 | OFILES=png.o usbtmc.o commands.o scope.o | |
3 | CFLAGS=-O2 -Wall -I/opt/local/include | |
4 | LDFLAGS=-L/opt/local/lib -lusb -lreadline -lz | |
5 | CC=gcc | |
6 | ||
7 | all: rigol rigold raw2gp | |
8 | ||
9 | rigol: rigol.o $(OFILES) | |
10 | ||
11 | rigold: rigold.o $(OFILES) | |
12 | ||
13 | clean: | |
14 | rm -f *.o rigol rigold raw2gp *~ |