mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Win friendly #2047
This commit is contained in:
1 parent
68750f3455
commit
ca256b9949
2 files changed
+7
-3
No files matched your search
@@ -21,12 +21,14 @@ endif
|
||||
all: $(PROG)
|
||||
$(RUN) ./$(PROG) $(ARGS)
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
# Before embedding files, gzip them to save space
|
||||
packed_fs.c: $(shell find web_root -type f) Makefile
|
||||
rm -rf tmp/web_root && mkdir tmp && cp -r web_root tmp/
|
||||
find tmp -type f | xargs -n1 gzip
|
||||
$(CC) ../../test/pack.c -o pack
|
||||
cd tmp && ../pack `find web_root -type f` > ../$@
|
||||
endif
|
||||
|
||||
$(PROG): $(SOURCES)
|
||||
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
|
||||
|
||||
Reference in new issue
Block a user