mirror of
git://projects.qi-hardware.com/f32xbase.git
synced 2024-11-23 22:35:20 +02:00
version.h is no longer generated and it thus only creates confusion if
we create it when making dependencies. - fw/common/Makefile.common (depend): don't touch version.h - fw/common/Makefile.common (version): we build version.c, not version.c
This commit is contained in:
parent
7501137fac
commit
2a5850591c
@ -42,7 +42,7 @@ all: $(MAIN).bin
|
|||||||
# ----- automatic build version information -----------------------------------
|
# ----- automatic build version information -----------------------------------
|
||||||
|
|
||||||
|
|
||||||
version version.h:
|
version version.c:
|
||||||
@if [ -f .version ]; then \
|
@if [ -f .version ]; then \
|
||||||
v=`cat .version`; \
|
v=`cat .version`; \
|
||||||
expr $$v + 1 >.version; \
|
expr $$v + 1 >.version; \
|
||||||
@ -83,7 +83,7 @@ $(MAIN).ihx: $(OBJS:%=%.rel)
|
|||||||
|
|
||||||
depend .depend:
|
depend .depend:
|
||||||
>.depend
|
>.depend
|
||||||
touch version.h version.c
|
touch version.c
|
||||||
for n in $(OBJS:%=%.c); do \
|
for n in $(OBJS:%=%.c); do \
|
||||||
$(CPP) $(CFLAGS) -DUART_115200_BPS -MM -MG \
|
$(CPP) $(CFLAGS) -DUART_115200_BPS -MM -MG \
|
||||||
`[ -f $$n ] || echo ../common/`$$n >>.depend || \
|
`[ -f $$n ] || echo ../common/`$$n >>.depend || \
|
||||||
|
Loading…
Reference in New Issue
Block a user