-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (15 loc) · 794 Bytes
/
Makefile
File metadata and controls
20 lines (15 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
GEN=generate.py
PY=ni.py
PREFIX=/usr/include
#INCLUDES=$(PREFIX)/ni/XnStatus.h $(PREFIX)/ni/XnTypes.h XnInternalTypes.h $(PREFIX)/ni/XnQueries.h $(PREFIX)/ni/XnContext.h $(PREFIX)/ni/XnPrdNode.h $(PREFIX)/ni/XnEnumerationErrors.h $(PREFIX)/ni/XnUtils.h $(PREFIX)/ni/XnPrdNodeInfoList.h $(PREFIX)/ni/XnPropNames.h
INCLUDES=$(PREFIX)/ni/XnStatus.h $(PREFIX)/ni/XnTypes.h $(PREFIX)/ni/XnQueries.h $(PREFIX)/ni/XnContext.h $(PREFIX)/ni/XnPrdNode.h $(PREFIX)/ni/XnEnumerationErrors.h $(PREFIX)/ni/XnUtils.h $(PREFIX)/ni/XnPrdNodeInfoList.h $(PREFIX)/ni/XnPropNames.h
all: validate
validate: $(PY)
pyflakes $(PY)
grep FIXME $(PY)
$(PY): Makefile $(GEN) override.py header.py footer.py $(INCLUDES)
python $(GEN) -o $@ $(INCLUDES)
clean:
-/bin/rm $(PY)
check:
python $(GEN) -dc $(INCLUDES)