From 27d5efb0880c1fd110af749ebddbfe7bab1266d3 Mon Sep 17 00:00:00 2001 From: tth Date: Tue, 28 Jun 2022 17:45:30 +0200 Subject: [PATCH] fix a name error --- .gitignore | 4 +--- Lib/Makefile | 10 +++++----- Tools/Makefile | 30 +++++++++++++++--------------- 3 files changed, 21 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index d9327a2..8c5e9c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,7 @@ *.o -libimage.a - -foo +libtthimage.a Lib/foo Lib/testtga diff --git a/Lib/Makefile b/Lib/Makefile index 731fa89..3783456 100644 --- a/Lib/Makefile +++ b/Lib/Makefile @@ -161,16 +161,16 @@ OBJECTS = 7seg.o \ warp0.o warp1.o warp2.o warp3.o \ zoom.o -../libimage.a: $(OBJECTS) +../libtthimage.a: $(OBJECTS) $(AR) vrs $@ $? $(RANLIB) $@ #----------------------------------------------------------------- -foo: foo.c $(DEPS) ../libimage.a +foo: foo.c $(DEPS) ../libtthimage.a gcc $(CFLAGS) $< ../libimage.a -o $@ -t_t16x24: t_t16x24.c $(DEPS) ../libimage.a +t_t16x24: t_t16x24.c $(DEPS) ../libtthimage.a gcc $(CFLAGS) $< ../libimage.a-o $@ #----------------------------------------------------------------- @@ -178,7 +178,7 @@ t_t16x24: t_t16x24.c $(DEPS) ../libimage.a essais.o: essais.c $(DEPS) essais.h gcc $(CFLAGS) $< -c -testtga: testtga.c $(DEPS) ../libimage.a essais.o - gcc $(CFLAGS) $< essais.o ../libimage.a -lm -o $@ +testtga: testtga.c $(DEPS) ../libtthimage.a essais.o + gcc $(CFLAGS) $< essais.o ../libtthimage.a -lm -o $@ #----------------------------------------------------------------- diff --git a/Tools/Makefile b/Tools/Makefile index 6508b6e..a7d7b0e 100644 --- a/Tools/Makefile +++ b/Tools/Makefile @@ -24,54 +24,54 @@ fonctions.o: fonctions.c $(DEPS) #----------------------------------------------------------------- genplot2: genplot2.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ #----------------------------------------------------------------- tga_applymap: tga_applymap.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_cadre: tga_cadre.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_combine: tga_combine.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_dither: tga_dither.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_effects: tga_effects.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_equalize: tga_equalize.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_filtres: tga_filtres.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_makehf15: tga_makehf15.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_mires: tga_mires.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_remap: tga_remap.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_television: tga_television.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_tools: tga_tools.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ tga_incrust: tga_incrust.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ # tga_info: tga_info.c $(DEPS) fonctions.o # gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ tga_pattern: tga_pattern.c $(DEPS) fonctions.o - gcc $(CFLAGS) $< ../libimage.a fonctions.o -lm -o $@ + gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@ #-----------------------------------------------------------------