mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-05 20:30:03 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@631 951219d9-93cf-4727-9268-0efd64621fa3
30 lines
773 B
Makefile
30 lines
773 B
Makefile
CC = powerpc-4xx-softfloat-gcc
|
|
CCX = powerpc-4xx-softfloat-g++
|
|
CLAGS += -Wall -DDACS_INT -DEIGERD -DSLS_DETECTOR_FUNCTION_LIST -DDACS_INT -DSTOP_SERVER #-DVERBOSE #-DVIRTUAL
|
|
LDLIBS += -lm -lstdc++
|
|
|
|
PROGS = eigerDetectorServer
|
|
DESTDIR ?= bin
|
|
INSTMODE = 0777
|
|
|
|
SRC_CLNT = slsDetectorServer.c slsDetectorServer_funcs.c communication_funcs.c slsDetectorFunctionList.c
|
|
OBJS = $(SRC_CLNT:.cpp=.o)
|
|
|
|
|
|
|
|
all: clean $(PROGS)
|
|
|
|
|
|
boot: $(OBJS)
|
|
|
|
$(PROGS):
|
|
echo $(OBJS)
|
|
mkdir -p $(DESTDIR)
|
|
# $(CC) $(SRC_CLNT) $(CLAGS) $(LDLIBS) -o $@
|
|
$(CC) -c $(SRC_CLNT) $(CLAGS) $(LDLIBS)
|
|
$(CCX) -o $@ slsDetectorServer.o slsDetectorServer_funcs.o communication_funcs.o slsDetectorFunctionList.o
|
|
mv $(PROGS) $(DESTDIR)
|
|
|
|
clean:
|
|
rm -rf $(DESTDIR)/$(PROGS) *.o
|
|
|