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.2017.198
07 February 2022, 07:48:38 UTC
  • Code
  • Branches (0)
  • Releases (1)
  • Visits
    • Branches
    • Releases
      • HEAD
    • c109f0f
    • /
    • gti_1.3
    • /
    • makefile
    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:37a322d98ae3594933fa5d16a7cc6430e70dfbda
    origin badgedirectory badge
    swh:1:dir:c6c16f948e8f1f33bd1d65f6686d3c4b833241e6
    origin badgesnapshot badge
    swh:1:snp:8fea3bc3ecc397783e1be230d3a31826870e71a2
    origin badgerelease badge
    swh:1:rel:07731d5a1c68b9e43875e10d7f3e7c2e757c703d

    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 ...
    makefile
    # Copyright 2016 Bruno Galerne, Arthur Leclaire
    #
    # Copying and distribution of this file, with or without
    # modification, are permitted in any medium without royalty provided
    # the copyright notice and this notice are preserved.  This file is
    # offered as-is, without any warranty.
    
    SRC=src/io_png.c src/gti.c
    
    BIN=gti
    
    OPTS= -O3 -ftree-vectorize -funroll-loops -fopenmp
    
    CFLAGS= $(OPTS) -Wall -std=c99 -Wextra -pedantic
    
    LDFLAGS= -lpng -lfftw3f_omp -lfftw3f -lgomp -lm
    
    
    all: $(BIN)
    
    $(BIN): $(SRC:.c=.o)
    	$(CC) $(SRC:.c=.o) $(LDFLAGS) -o $(BIN)
    
    %.o: %.c
    	$(CC) $(CFLAGS) -c $< -o $@
    
    clean:
    	rm -f $(FSRC:.c=.o)
    	rm -f $(RSRC:.c=.o)
    	rm -f $(FBIN)
    	rm -f $(RBIN)
    
    
    

    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