From 6c6a7c2679b1b50805f251708e61dcae296e8539 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Thu, 13 Jun 2013 08:10:56 +0000 Subject: [PATCH] works git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@601 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/eigerDetectorServer/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/slsDetectorSoftware/eigerDetectorServer/Makefile b/slsDetectorSoftware/eigerDetectorServer/Makefile index cd345c0c8..64648b26e 100644 --- a/slsDetectorSoftware/eigerDetectorServer/Makefile +++ b/slsDetectorSoftware/eigerDetectorServer/Makefile @@ -1,4 +1,5 @@ CC = powerpc-4xx-softfloat-gcc +CCX = powerpc-4xx-softfloat-g++ CLAGS += -Wall -DDACS_INT -DEIGERD -DSLS_DETECTOR_FUNCTION_LIST #-DVERBOSE #-DVIRTUAL LDLIBS += -lm -lstdc++ @@ -13,21 +14,17 @@ OBJS = $(SRC_CLNT:.cpp=.o) all: clean $(PROGS) - -3pc: clean pccompile $(PROGS) - - -#pccompile: -#CC := gcc boot: $(OBJS) $(PROGS): echo $(OBJS) mkdir -p $(DESTDIR) - $(CC) $(SRC_CLNT) $(CLAGS) $(LDLIBS) -o $@ +# $(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 + rm -rf $(DESTDIR)/$(PROGS) *.o + \ No newline at end of file