Works with firmware version 100527

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@18 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2010-05-26 09:04:14 +00:00
parent aeab347db6
commit 8a5bc0750d
14 changed files with 875 additions and 254 deletions

View File

@ -5,7 +5,7 @@
AXIS_USABLE_LIBS = UCLIBC GLIBC
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
PROGS= mythenDetectorServer
PROGS= mythenDetectorServer
INSTDIR= $(prefix)/bin
INSTMODE= 0777
@ -13,14 +13,14 @@ INSTMODE= 0777
SRCS= server.c server_funcs.c communication_funcs.c firmware_funcs.c mcb_funcs.c trimming_funcs.c sharedmemory.c
OBJS= $(SRCS:%.c=%.o)
CFLAGS+= -Wall -DC_ONLY -DMCB_FUNCS
#-DVERBOSE
# -DVERYVERBOSE
CFLAGS+= -Wall -DC_ONLY -DMCB_FUNCS -DVERBOSE
#-DVERYVERBOSE
#-Werror
LDLIBS+= -lm
all: $(PROGS)
mythen: $(PROGS)
all: $(PROGS)
boot: $(OBJS)
@ -28,12 +28,14 @@ $(PROGS): $(OBJS)
echo $(OBJS)
$(CC) $(LDFLAGS) $^ $(LDLIBS) $(CFLAGS) -o $@
install: $(PROGS)
$(INSTALL) -d $(INSTDIR)
$(INSTALL) -m $(INSTMODE) $(PROGS) $(INSTDIR)
clean:
rm -rf $(PROGS) *.o
rm -rf $(PROGS) $(PICASSO) *.o
depend:
makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null