summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-03-19 18:15:52 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-03-20 12:01:56 -0400
commit9cd55867de91013bdbfe0d73112df504eb7963ba (patch)
tree35c7d25805c10a61dd65bd80febedb81e82c50bf /Makefile
parentbc7e78b1766e8d9c9af1d47c207d084e161db98d (diff)
pkuuid.h: first-pass + bump version to 0.4.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fe5107d..0acc65a 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ SRC = \
pkev.h \
pkarr.h \
pkstn.h \
+ pkuuid.h \
test/pkmacros.c \
test/pkmacros.cpp \
test/pkmem-types.c \
@@ -29,6 +30,8 @@ SRC = \
test/pkstn.cpp \
test/pktmr.c\
test/pktmr.cpp \
+ test/pkuuid.c\
+ test/pkuuid.cpp \
OBJ = $(SRC:%.c=.o)
PPOBJ = $(SRC:%.cpp=.so)
@@ -44,6 +47,7 @@ all: options .WAIT clean .WAIT \
pkarr \
pkstn \
pktmr \
+ pkuuid \
test/test-pkmem-types test/test-pkmem-types-cpp \
test/test-pkmem test/test-pkmem-cpp \
test/test-pkmacros test/test-pkmacros-cpp \
@@ -52,6 +56,7 @@ all: options .WAIT clean .WAIT \
test/test-pkarr test/test-pkarr-cpp \
test/test-pkstn test/test-pkstn-cpp \
test/test-pktmr test/test-pktmr-cpp \
+ test/test-pkuuid test/test-pkuuid-cpp \
options:
@echo at-suite build options:
@@ -91,6 +96,8 @@ pkstn: pkstn.gch pkstn.gchpp
pktmr: pktmr.gch pktmr.gchpp
+pkuuid: pkuuid.gch pkuuid.gchpp
+
build: pkmacros
build: pkmem-types
build: pkmem
@@ -109,6 +116,7 @@ build: pktmr
pkarr.h \
pkstn.h \
pktmr.h \
+ pkuuid.h \
>> pk.h
echo "#endif /* PK_SINGLE_HEADER_FILE_H */" >> pk.h
sed -i -r \
@@ -167,6 +175,12 @@ test/test-pktmr: test/pktmr.o
test/test-pktmr-cpp: test/pktmr.so
$(CXX) -g -O3 -std=c++23 $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+test/test-pkuuid: test/pkuuid.o
+ $(CC) -g -O3 -std=c2x $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+test/test-pkuuid-cpp: test/pkuuid.so
+ $(CXX) -g -O3 -std=c++23 $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+
test: pkmacros pkmem-types pkmem pkstr pkev pkarr
test: test/test-pkmacros test/test-pkmacros-cpp
test: test/test-pkmem-types test/test-pkmem-types-cpp
@@ -176,6 +190,7 @@ test: test/test-pkev test/test-pkev-cpp
test: test/test-pkarr test/test-pkarr-cpp
test: test/test-pkstn test/test-pkstn-cpp
test: test/test-pktmr test/test-pktmr-cpp
+test: test/test-pkuuid test/test-pkuuid-cpp
test:
@echo ""
./test/test-pkmacros ; echo Result: $$? "\n"
@@ -194,6 +209,8 @@ test:
./test/test-pkstn-cpp ; echo Result: $$? "\n"
./test/test-pktmr ; echo Result: $$? "\n"
./test/test-pktmr-cpp ; echo Result: $$? "\n"
+ ./test/test-pkuuid ; echo Result: $$? "\n"
+ ./test/test-pkuuid-cpp ; echo Result: $$? "\n"
clean:
rm -f *.plist *.gch *.gchpp *.o *.so test/*.o test/*.so test/test-*