Skip to content

Instantly share code, notes, and snippets.

@mattn
Created February 9, 2009 08:00
Show Gist options
  • Save mattn/60707 to your computer and use it in GitHub Desktop.
Save mattn/60707 to your computer and use it in GitHub Desktop.
# 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