diff options
Diffstat (limited to 'ubi-utils/Makefile')
-rw-r--r-- | ubi-utils/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index 6a0391f..abd5dc4 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -25,7 +25,7 @@ vpath %.c ./src %.o: %.c $(CC) $(CFLAGS) -g -c -o $@ $< -g -Wp,-MD,.$(shell basename $<).dep -all: $(TARGETS) +all: $(TARGETS) libubi IGNORE=${wildcard .*.c.dep} -include ${IGNORE} @@ -33,6 +33,9 @@ IGNORE=${wildcard .*.c.dep} clean: rm -rf *.o $(TARGETS) .*.c.dep +libubi: libubi.o + ar cr libubi.a libubi.o + ubinfo: ubinfo.o common.o libubi.o $(CC) $(LDFLAGS) -o $@ $^ |