Skip to content

Commit

Permalink
Add basic VXI11 support
Browse files Browse the repository at this point in the history
zaporozhets committed Aug 12, 2019
1 parent a765b9e commit e4f2e75
Showing 3 changed files with 1,115 additions and 0 deletions.
21 changes: 21 additions & 0 deletions examples/test-vxi11/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

PROG = test

SRCS = main.c vxi11_xdr.c ../common/scpi-def.c
CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -I ../../libscpi/inc/ -I /usr/include/tirpc
LDFLAGS += -lm -ltirpc ../../libscpi/dist/libscpi.a -Wl,--as-needed

.PHONY: clean all

all: $(PROG)

OBJS = $(SRCS:.c=.o)

.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<

$(PROG): $(OBJS)
$(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS)

clean:
$(RM) $(PROG) $(OBJS)
Loading
Oops, something went wrong.

0 comments on commit e4f2e75

Please sign in to comment.