diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -19,6 +19,8 @@ SRC = \ test/pkmem.cpp \ test/pkstr.c \ test/pkstr.cpp \ + test/pkev.c \ + test/pkev.cpp \ OBJ = $(SRC:%.c=.o) PPOBJ = $(SRC:%.cpp=.so) @@ -112,11 +114,18 @@ test-pkstr: test/pkstr.o test-pkstr-cpp: test/pkstr.so $(CXX) -g -O0 -std=c++23 $(CPPFLAGS) -o test/$@ $^ $(LDFLAGS) +test-pkev: test/pkev.o + $(CC) -g -O0 -std=c2x $(CFLAGS) -o test/$@ $^ $(LDFLAGS) + +test-pkev-cpp: test/pkev.so + $(CXX) -g -O0 -std=c++23 $(CPPFLAGS) -o test/$@ $^ $(LDFLAGS) + test: pkmacros pkmem-types pkmem pkstr pkev test: test-pkmacros test-pkmacros-cpp test: test-pkmem-types test-pkmem-types-cpp test: test-pkmem test-pkmem-cpp test: test-pkstr test-pkstr-cpp +test: test-pkev test-pkev-cpp test: @echo "" ./test/test-pkmacros ; echo Result: $$? "\n" @@ -127,6 +136,8 @@ test: ./test/test-pkmem-cpp ; echo Result: $$? "\n" ./test/test-pkstr ; echo Result: $$? "\n" ./test/test-pkstr-cpp ; echo Result: $$? "\n" + ./test/test-pkev ; echo Result: $$? "\n" + ./test/test-pkev-cpp ; echo Result: $$? "\n" clean: rm -f *.plist *.gch *.gchpp *.o *.so test/*.o test/*.so test/test-* |
