View difference between Paste ID: dsiDiwBV and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
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 |