add_library(detype1 OBJECT detype1.c)

target_link_libraries(detype1 PUBLIC shared)
