Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 29th, 2011  |  syntax: None  |  size: 0.45 KB  |  views: 71  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. PYROOT = C:\Python27
  2. PYINCLUDE = /I $(PYROOT)\include
  3. MSLIBS = kernel32.lib user32.lib
  4. PYLIBS = /LIBPATH:$(PYROOT)\libs python27.lib
  5. ANDORLIBS = "Andor SDK3\atcorem.lib"
  6. LIBS = $(PYLIBS) $(MSLIBS) $(ANDORLIBS)
  7.  
  8. CXXFLAGS = /TP /Iinclude $(PYINCLUDE)
  9.  
  10. OBJS = neo_wrap.obj
  11.  
  12. TARGET = _andor.pyd
  13.  
  14. all: $(TARGET)
  15.  
  16. $(TARGET): $(OBJS)
  17.     link /dll /DEBUG /NOLOGO /out:$@ /SUBSYSTEM:WINDOWS $(OBJS) $(LIBS)
  18.    
  19. clean:
  20.     del *ilk *lib *pdb *obj *exp
clone this paste RAW Paste Data