mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
virtual servers can be compiled from top directory; include directory with users headers added
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@504 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -19,7 +19,7 @@ CFLAGS+= -Wall -DC_ONLY -DMCB_FUNCS -DDACS_INT $(VFLAGS)
|
||||
|
||||
LDLIBS+= -lm
|
||||
|
||||
mythen: $(PROGS)
|
||||
mythen: clean $(PROGS)
|
||||
all: $(PROGS)
|
||||
|
||||
boot: $(OBJS)
|
||||
|
18
slsDetectorSoftware/mythenDetectorServer/Makefile.virtual
Executable file
18
slsDetectorSoftware/mythenDetectorServer/Makefile.virtual
Executable file
@ -0,0 +1,18 @@
|
||||
DESTDIR?= ./
|
||||
PROGS= $(DESTDIR)/mythenVirtualServer
|
||||
|
||||
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 -DDACS_INT $(VFLAGS) -DVIRTUAL -DVERBOSE
|
||||
|
||||
LDLIBS+= -lm
|
||||
mythenVirtualServer : clean $(PROGS)
|
||||
|
||||
$(PROGS): $(SRCS)
|
||||
gcc $(LDFLAGS) $(SRCS) $(LDLIBS) $(CFLAGS) -o $@
|
||||
|
||||
clean:
|
||||
rm -f *.o $(PROGS)
|
||||
|
Reference in New Issue
Block a user