# 
# Makefile for Linux and QNX
#  
# For other operating systems see the build files in these subdirectories.
# Linux and QNX users just type "make" in this directory to build all 
# the demo programs for this board.
#

LIB=-L/usr/local/dscud5 -L/opt/dscud5 -ldscud5 -pthread -lm
INC=-I/usr/local/dscud5 -I/opt/dscud5

DEMOS=\
DSCDAConvert/DSCDAConvert \
DSCDAConvertScan/DSCDAConvertScan \
DSCDIOFunctions/DSCDIOFunctions \
DSCUserInt/DSCUserInt 

all: $(DEMOS)

clean:
	rm -f $(DEMOS)

$(DEMOS):
	( gcc -o $@ $@.c $(LIB) $(INC) )

