annotate python/pydc/test/Makefile @ 64:6c494834e52a

version bump
author Tassilo Philipp
date Sun, 19 May 2024 15:35:03 +0200
parents 9b6cdffd30dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
6cc2b7fc7ea2 bigger pydc update:
Tassilo Philipp
parents:
diff changeset
1 .PHONY: test.so
6cc2b7fc7ea2 bigger pydc update:
Tassilo Philipp
parents:
diff changeset
2
6cc2b7fc7ea2 bigger pydc update:
Tassilo Philipp
parents:
diff changeset
3 test.so:
34
2682a627168c - breaking changes:
Tassilo Philipp
parents: 29
diff changeset
4 (for i in char 'unsigned char' short 'unsigned short' int 'unsigned int' long 'unsigned long' 'long long' 'unsigned long long' float double 'const char*'; do \
2682a627168c - breaking changes:
Tassilo Philipp
parents: 29
diff changeset
5 echo "$$i `echo $$i | sed -E 's/\*/ p/;s/(^| )([a-z])[^ ]*/\2/g'`_plus_one($$i v) { return v+1; }"; \
2682a627168c - breaking changes:
Tassilo Philipp
parents: 29
diff changeset
6 done; \
63
9b6cdffd30dd - further fixes of inccorect overflow errors for int (and long on LLP64 systems)
Tassilo Philipp
parents: 60
diff changeset
7 echo 'void cp_head_incr(char* v) { v[0]+=1; }'; \
9b6cdffd30dd - further fixes of inccorect overflow errors for int (and long on LLP64 systems)
Tassilo Philipp
parents: 60
diff changeset
8 echo 'int llp64() { return sizeof(int) == sizeof(long); }') | \
9b6cdffd30dd - further fixes of inccorect overflow errors for int (and long on LLP64 systems)
Tassilo Philipp
parents: 60
diff changeset
9 ${CC} -`[ \`uname\` = Darwin ] && echo dynamiclib || echo shared` -x c - -o $@
60
8e905c0798c7 - p2Z() helper func
Tassilo Philipp
parents: 34
diff changeset
10 @echo Done! Now you can run types_test.py
29
6cc2b7fc7ea2 bigger pydc update:
Tassilo Philipp
parents:
diff changeset
11