forked from aisk/libae
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SinuxLee/feature/winIocp
merge win iocp
- Loading branch information
Showing
33 changed files
with
6,362 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SOURCE = src/ae.c src/anet.c src/adlist.c src/Win32_Interop/*.c src/Win32_Interop/*.cpp | ||
LIB_TARGET = libae.lib | ||
LIBS = ws2_32.lib User32.lib libae.lib | ||
LINK_FLAG = /DEBUG /subsystem:console | ||
|
||
$(LIB_TARGET): | ||
@cl /EHsc /D_WIN32 /c $(SOURCE) | ||
@link -lib *.obj /out:$(LIB_TARGET) | ||
|
||
timer: | ||
@cl /c example\timer.c | ||
@link $(LINK_FLAG) timer.obj $(LIBS) /OUT:timer.exe | ||
|
||
echo: | ||
@cl /c example\echo.c | ||
@link $(LINK_FLAG) echo.obj $(LIBS) /OUT:echo.exe | ||
|
||
clean: | ||
@del *.exe *.obj *.lib *.ilk *.pdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.