added receiver in here

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@328 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-10-30 10:06:58 +00:00
parent 007995a5ec
commit 2338de4054
13 changed files with 1413 additions and 92 deletions

View File

@ -0,0 +1,32 @@
CFLAGS+= -Wall -DC_ONLY -DSLS_RECEIVER_FUNCTION_LIST -DGOTTHARDD #-DVERBOSE
LDLIBS+= -lm -lstdc++ -lpthread
PROGS= slsReceiver
INSTDIR= bin
INSTMODE= 0777
SRC_CLNT = slsReceiver.c communication_funcs.c slsReceiverFunctionList.c slsReceiver_funcs.c
OBJS = $(SRC_CLNT:.c=.o)
all: clean $(PROGS)
boot: $(OBJS)
#doc: $(SRC_CLNT)
# doxygen doxy.config
$(PROGS): $(OBJS)
echo $(OBJS)
mkdir -p $(INSTDIR)
$(CC) $(LDFLAGS) $^ $(LDLIBS) $(CFLAGS) -o $@
mv $(PROGS) $(INSTDIR)
clean:
rm -rf $(PROGS) *.o $(INSTDIR)/*