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

  • c6c16f9
  • /
  • 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
content badge
swh:1:cnt:37a322d98ae3594933fa5d16a7cc6430e70dfbda
directory badge
swh:1:dir:c6c16f948e8f1f33bd1d65f6686d3c4b833241e6

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
(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