bergamaschi 8088e6231e 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
2013-04-08 12:40:28 +00:00

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)