mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-07-12 19:01:50 +02:00
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:
32
slsDetectorSoftware/slsReceiver/Makefile
Normal file
32
slsDetectorSoftware/slsReceiver/Makefile
Normal 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)/*
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user