Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5201/ipol.2022.215
11 April 2026, 15:45:18 UTC
  • Code
  • Branches (0)
  • Releases (2)
  • Visits
    • Branches
    • Releases
      • 2
      • 2
      • 1
    • c530314
    • /
    • paraws
    • /
    • common.mk
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:b5f6f7d8070b3238c96720346dc358f52debe385
    origin badgedirectory badge
    swh:1:dir:bb309b6c220124321a1ac969488a1621c674679d
    origin badgesnapshot badge
    swh:1:snp:78d18a3e9f4a56ecaf1e6817d370abae618d0a7c
    origin badgerelease badge
    swh:1:rel:f3a4320e8346f38185539583336571c1b856fc47

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    common.mk
    RELEASE_BUILD	= true
    
    ifeq ($(RELEASE_BUILD), true)
    CXXFLAGS += -O3 -DUSE_64BIT_IDS -DNDEBUG -ftree-vectorize	\
    -ftree-slp-vectorize -march=native -mtune=native
    else
    CXXFLAGS += -O0 -g -Wall -Wextra
    endif
    
    # OpenMP flags
    CXXFLAGS += -fopenmp
    LDFLAGS += -fopenmp
    
    # link to libpng
    LDLIBS += -lpng
    
    # Benchmark flag
    CXXFLAGS += -DBENCH
    
    # Required for uint8_t
    CXXFLAGS += -std=c++11
    
    .PHONY: common-clean
    common-clean:
    	$(RM) *~ \#*\#
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API