整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
19
util/xpack/example/msvc.make
Executable file
19
util/xpack/example/msvc.make
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
MAKEFLAGS += --no-builtin-rules
|
||||
MAKEFLAGS += --no-builtin-variables
|
||||
SRC=$(wildcard *.cpp)
|
||||
TAR=$(SRC:.cpp=)
|
||||
|
||||
NEEDLIB=mysql sqlite yaml
|
||||
TAR:=$(filter-out $(NEEDLIB),$(TAR))
|
||||
|
||||
%:%.cpp
|
||||
cl /Fe:${CURDIR}/$@.exe /nologo /wd4819 $< /EHsc -I ../..
|
||||
@echo ============ run $@.exe ================
|
||||
@$@.exe
|
||||
@del $@.exe $@.obj
|
||||
|
||||
tar:$(TAR)
|
||||
@echo -------test done-------
|
||||
|
||||
clean:
|
||||
@-del *.obj *.exe
|
||||
Loading…
Add table
Add a link
Reference in a new issue