fix a name error

This commit is contained in:
tth 2022-06-28 17:45:30 +02:00
parent 5b72d3989e
commit 27d5efb088
3 changed files with 21 additions and 23 deletions

4
.gitignore vendored
View File

@ -1,9 +1,7 @@
*.o
libimage.a
foo
libtthimage.a
Lib/foo
Lib/testtga

View File

@ -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 $@
#-----------------------------------------------------------------

View File

@ -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 $@
#-----------------------------------------------------------------