PYROOT = C:\Python27 PYINCLUDE = /I $(PYROOT)\include MSLIBS = kernel32.lib user32.lib PYLIBS = /LIBPATH:$(PYROOT)\libs python27.lib ANDORLIBS = "Andor SDK3\atcorem.lib" LIBS = $(PYLIBS) $(MSLIBS) $(ANDORLIBS) CXXFLAGS = /TP /Iinclude $(PYINCLUDE) OBJS = neo_wrap.obj TARGET = _andor.pyd all: $(TARGET) $(TARGET): $(OBJS) link /dll /DEBUG /NOLOGO /out:$@ /SUBSYSTEM:WINDOWS $(OBJS) $(LIBS) clean: del *ilk *lib *pdb *obj *exp