mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
50 lines
837 B
Makefile
Executable File
50 lines
837 B
Makefile
Executable File
# $Id: Makefile,v 1.1.1.1 2006/02/04 03:35:01 freza Exp $
|
|
# first compile
|
|
# make cris-axis-linux-gnu
|
|
|
|
|
|
CROSS = bfin-uclinux-
|
|
CC = $(CROSS)gcc
|
|
|
|
CFLAGS += -Wall -DGOTTHARDD -DPROPIXD -DMCB_FUNCS -DDACS_INT -DDEBUG # -DVERBOSE #-DVERYVERBOSE #-DVIRTUAL #-DDACS_INT_CSERVER
|
|
|
|
|
|
PROGS= propixDetectorServer
|
|
INSTDIR= /tftpboot
|
|
INSTMODE= 0777
|
|
|
|
|
|
|
|
BINS = testlib_sharedlibc
|
|
SRCS = server.c server_funcs.c communication_funcs.c firmware_funcs.c mcb_funcs.c
|
|
OBJS = $(SRCS:%.c=%.o)
|
|
|
|
|
|
|
|
all: clean $(PROGS)
|
|
|
|
boot: $(OBJS)
|
|
|
|
$(PROGS): $(OBJS)
|
|
echo $(OBJS)
|
|
@echo `tput setaf 6; ./updateGitVersion.sh; tput sgr0;`
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS_$@) $(LDFLAGS_$@)
|
|
|
|
|
|
install: $(PROGS)
|
|
$(INSTALL) -d $(INSTDIR)
|
|
$(INSTALL) -m $(INSTMODE) $(PROGS) $(INSTDIR)
|
|
|
|
|
|
romfs:
|
|
$(ROMFSINST) /bin/$(PROGS)
|
|
|
|
clean:
|
|
rm -rf $(PROGS) *.o *.gdb
|
|
|
|
|
|
|
|
|
|
|
|
|