loglevel bitmasks needs to be larger because we got more than 32 files

This commit is contained in:
Michael Stapelberg
2010-04-17 17:46:11 +02:00
parent b93413ca49
commit 7f3a77ac6a
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ endif
# Depend on the specific file (.c for each .o) and on all headers
src/%.o: src/%.c ${HEADERS}
echo "CC $<"
$(CC) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/$(shell basename $< .c)/ { print NR }' loglevels.tmp))" -c -o $@ $<
$(CC) $(CFLAGS) -DLOGLEVEL="((uint64_t)1 << $(shell awk '/$(shell basename $< .c)/ { print NR }' loglevels.tmp))" -c -o $@ $<
all: src/cfgparse.y.o src/cfgparse.yy.o src/cmdparse.y.o src/cmdparse.yy.o ${FILES}
echo "LINK i3"