mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-25 02:51:08 +02:00
some more changes to make file for automatic versioning
This commit is contained in:
@ -21,11 +21,15 @@ CFLAGS+= -Wall -DC_ONLY -DMCB_FUNCS -DDACS_INT $(VFLAGS)
|
||||
|
||||
LDLIBS+= -lm
|
||||
|
||||
mythen: clean $(PROGS)
|
||||
all: updateVersion $(PROGS)
|
||||
mythen: clean versioning $(PROGS)
|
||||
all: versioning $(PROGS)
|
||||
|
||||
boot: $(OBJS)
|
||||
|
||||
versioning:
|
||||
@echo `tput setaf 6; ./updateGitVersion.sh; tput sgr0;`
|
||||
|
||||
|
||||
$(PROGS): $(OBJS)
|
||||
echo $(OBJS)
|
||||
$(CC) $(LDFLAGS) $^ $(LDLIBS) $(CFLAGS) -o $@
|
||||
@ -39,7 +43,4 @@ clean:
|
||||
|
||||
depend:
|
||||
makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null
|
||||
|
||||
updateVersion:
|
||||
./updateGitVersion.sh
|
||||
|
Reference in New Issue
Block a user