Created
February 9, 2009 08:00
-
-
Save mattn/60707 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# vim: set ft=make: | |
APACHE_ROOT=C:\Program Files\Apache Software Foundation\Apache2.2 | |
CFLAGS=/I"$(APACHE_ROOT)\include" /DWIN32 /nologo | |
LDFLAGS=/LIBPATH:"$(APACHE_ROOT)\lib" | |
LIBS= libapr-1.lib libaprutil-1.lib libhttpd.lib | |
.SUFFIXES: .c .obj | |
all : mod_access_token.so | |
mod_access_token.so : mod_access_token.obj | |
link /nologo /DLL /OUT:$@ /EXPORT:access_token_module mod_access_token.obj $(LDFLAGS) $(LIBS) | |
mod_access_token.obj : mod_access_token.c | |
cl -c $(CFLAGS) mod_access_token.c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment