mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@504 951219d9-93cf-4727-9268-0efd64621fa3
19 lines
424 B
Makefile
Executable File
19 lines
424 B
Makefile
Executable File
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)
|
|
|