libtthimage/Tools/Makefile

92 lines
2.9 KiB
Makefile
Raw Permalink Normal View History

2022-06-27 00:48:18 +02:00
#-----------------------------------------------------------------
#
# Fabrication des outils - nouvelle version 26 juin 2022
#
#-----------------------------------------------------------------
include ../Paramakes.mk
2022-06-28 20:35:00 +02:00
DEPS = ../tthimage.h Makefile tga_outils.h ../libtthimage.a
2022-06-27 00:48:18 +02:00
2022-06-28 10:46:14 +02:00
all: genplot2 \
tga_cadre tga_effects tga_filtres tga_remap tga_tools \
2023-09-12 18:19:12 +02:00
tga_combine tga_export tga_alpha tga_extract \
2022-06-27 23:39:52 +02:00
tga_television tga_dither tga_applymap tga_makehf15 \
2024-02-27 03:32:41 +01:00
tga_mires tga_incrust tga_pattern tga_equalize \
tga_to_text
2022-06-28 10:46:14 +02:00
# 'tga_info.c' do not compile yet
2022-06-27 00:48:18 +02:00
#-----------------------------------------------------------------
2022-06-27 08:53:59 +02:00
fonctions.o: fonctions.c $(DEPS)
2022-06-27 00:48:18 +02:00
gcc $(CFLAGS) -c $<
#-----------------------------------------------------------------
2022-06-27 23:39:52 +02:00
genplot2: genplot2.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
#-----------------------------------------------------------------
2024-02-27 00:43:44 +01:00
tga_to_text: tga_to_text.c $(DEPS) fonctions.o
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-28 22:28:05 +02:00
tga_alpha: tga_alpha.c $(DEPS) fonctions.o
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
tga_applymap: tga_applymap.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
2022-06-27 08:53:59 +02:00
tga_cadre: tga_cadre.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 08:53:59 +02:00
2022-06-28 15:14:08 +02:00
tga_combine: tga_combine.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-28 15:14:08 +02:00
2022-06-28 21:28:22 +02:00
tga_export: tga_export.c $(DEPS) fonctions.o
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
tga_dither: tga_dither.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
2022-06-27 08:53:59 +02:00
tga_effects: tga_effects.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-28 15:14:08 +02:00
tga_equalize: tga_equalize.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 08:53:59 +02:00
tga_filtres: tga_filtres.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 08:53:59 +02:00
2022-06-27 23:39:52 +02:00
tga_makehf15: tga_makehf15.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
tga_mires: tga_mires.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
tga_remap: tga_remap.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 23:39:52 +02:00
2022-06-27 09:00:44 +02:00
tga_television: tga_television.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 09:00:44 +02:00
2022-06-27 00:48:18 +02:00
tga_tools: tga_tools.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-27 00:48:18 +02:00
2022-06-28 10:46:14 +02:00
tga_incrust: tga_incrust.c $(DEPS) fonctions.o
2022-06-28 17:45:30 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-28 10:46:14 +02:00
2023-09-12 18:19:12 +02:00
tga_extract: tga_extract.c $(DEPS) fonctions.o
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-28 10:46:14 +02:00
# tga_info: tga_info.c $(DEPS) fonctions.o
# gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@
tga_pattern: tga_pattern.c $(DEPS) fonctions.o
2023-09-22 14:15:52 +02:00
gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
2022-06-28 10:46:14 +02:00
2022-06-27 00:48:18 +02:00
#-----------------------------------------------------------------