mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Regenerate pack file when dependencies are changed.
Should help prevent some spurious test failures due to stale test/packed_fs.c file.
This commit is contained in:
1 parent
a284df01d1
commit
3da9986232
1 file changed
+1
-1
@@ -33,7 +33,7 @@ all: mg_prefix unamalgamated unpacked test test++ arm examples vc98 vc2017 mingw
|
|||||||
examples:
|
examples:
|
||||||
@for X in $(EXAMPLES); do test -f $$X/Makefile || continue; $(MAKE) -C $$X example || exit 1; done
|
@for X in $(EXAMPLES); do test -f $$X/Makefile || continue; $(MAKE) -C $$X example || exit 1; done
|
||||||
|
|
||||||
test/packed_fs.c:
|
test/packed_fs.c: Makefile src/ssi.h test/fuzz.c test/data/a.txt
|
||||||
$(CC) $(CFLAGS) test/pack.c -o pack
|
$(CC) $(CFLAGS) test/pack.c -o pack
|
||||||
./pack Makefile src/ssi.h test/fuzz.c test/data/a.txt -z 'gzip -c' test/data/range.txt > $@
|
./pack Makefile src/ssi.h test/fuzz.c test/data/a.txt -z 'gzip -c' test/data/range.txt > $@
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user