mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Added wp target
This commit is contained in:
1 parent
4d105386ca
commit
04862eec85
1 file changed
+6
@@ -9,6 +9,7 @@ EXE_SUFFIX =
|
||||
CFLAGS = -std=c99 -O2 -W -Wall -pedantic -pthread -pipe -I. -I.. $(CFLAGS_EXTRA)
|
||||
VERSION = $(shell perl -lne \
|
||||
'print $$1 if /define\s+MONGOOSE_VERSION\s+"(\S+)"/' ../mongoose.h)
|
||||
WP = wordpress-private-1.3
|
||||
RM = rm -rf
|
||||
VDIR = mongoose-$(VERSION)
|
||||
|
||||
@@ -160,6 +161,11 @@ release: tarball macos
|
||||
cp mongoose-lua-sqlite-ssl.exe mongoose_php_bundle/mongoose.exe
|
||||
zip -r mongoose-php-$(VERSION).zip mongoose_php_bundle/
|
||||
|
||||
wp: mongoose.exe
|
||||
upx mongoose.exe
|
||||
cp mongoose.exe $(WP)/
|
||||
zip -r $(WP).zip $(WP)
|
||||
|
||||
clean:
|
||||
@cd ../examples && $(MAKE) clean
|
||||
@$(RM) *.o *.core $(PROG) *.obj *.so $(PROG).txt *.dSYM *.tgz \
|
||||
|
||||
Reference in new issue
Block a user