mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@1 951219d9-93cf-4727-9268-0efd64621fa3
38 lines
725 B
Makefile
38 lines
725 B
Makefile
# $Id: Makefile,v 1.1.1.1 2006/02/04 03:35:01 freza Exp $
|
|
# first compile
|
|
# make cris-axis-linux-gnu
|
|
|
|
AXIS_USABLE_LIBS = UCLIBC GLIBC
|
|
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
|
|
|
|
PROGS= dummy
|
|
|
|
INSTDIR= $(prefix)/bin
|
|
INSTMODE= 0777
|
|
|
|
SRCS= dummy_main.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 -DVERBOSE
|
|
#-Werror
|
|
|
|
LDLIBS+= -lm
|
|
|
|
all: $(PROGS)
|
|
|
|
boot: $(OBJS)
|
|
|
|
$(PROGS): $(OBJS)
|
|
echo $(OBJS)
|
|
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
|
|
|
|
install: $(PROGS)
|
|
$(INSTALL) -d $(INSTDIR)
|
|
$(INSTALL) -m $(INSTMODE) $(PROGS) $(INSTDIR)
|
|
|
|
clean:
|
|
rm -rf $(PROGS) *.o
|
|
|
|
depend:
|
|
makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null
|