libtthimage/Lib/Makefile

140 lines
3.5 KiB
Makefile
Raw Normal View History

2022-06-26 21:22:12 +11:00
#-----------------------------------------------------------------
#
2022-06-27 09:48:18 +11:00
# The infamous *LIBTTHIMAGE* 20 juin 2022
2022-06-26 21:22:12 +11:00
#
#-----------------------------------------------------------------
include ../Paramakes.mk
DEPS = ../tthimage.h Makefile
2022-06-27 07:55:56 +11:00
STATICLIB = "../libimage.a"
2022-06-26 21:22:12 +11:00
#-----------------------------------------------------------------
2022-06-27 07:55:56 +11:00
basic_io.o: basic_io.c $(DEPS)
2022-06-27 09:48:18 +11:00
bitblt.o: bitblt.c $(DEPS)
calcluts.o:
calculs.o: calculs.c $(DEPS)
classif.o: classif.c $(DEPS)
col_xyz.o: col_xyz.c $(DEPS)
combine.o: combine.c $(DEPS)
combine2.o: combine2.c $(DEPS)
combine3.o: combine3.c $(DEPS)
combine4.o: combine4.c $(DEPS)
combine5.o: combine5.c $(DEPS)
combine6.o: combine6.c $(DEPS)
dither.o: dither.c $(DEPS)
dither2.o: dither2.c $(DEPS)
dither3.o: dither3.c $(DEPS)
dither4.o: dither4.c $(DEPS)
doublesz.o: doublesz.c $(DEPS)
2022-06-27 07:55:56 +11:00
drawing.o: drawing.c $(DEPS)
2022-06-27 09:48:18 +11:00
effects.o: effects.c $(DEPS)
effects2.o: effects2.c $(DEPS)
effects3.o: effects3.c $(DEPS)
filtres.o: filtres.c $(DEPS)
halfsize.o: halfsize.c $(DEPS)
2022-06-26 21:22:12 +11:00
image.o: image.c $(DEPS)
2022-06-27 07:55:56 +11:00
imprime.o: imprime.c $(DEPS)
2022-06-26 21:22:12 +11:00
2022-06-27 09:48:18 +11:00
luts15bits.o: luts15bits.c $(DEPS)
2022-06-27 07:55:56 +11:00
marques.o: marques.c $(DEPS)
2022-06-27 09:48:18 +11:00
mircol.o: mircol.c $(DEPS)
2022-06-26 21:22:12 +11:00
msglib.o: msglib.c $(DEPS)
2022-06-27 07:55:56 +11:00
mustopen.o: mustopen.c $(DEPS)
2022-06-27 09:48:18 +11:00
operat.o: operat.c $(DEPS)
op2x2.o: op2x2.c $(DEPS)
2022-06-27 07:55:56 +11:00
2022-06-27 09:48:18 +11:00
patterns.o: patterns.c $(DEPS)
patterns2.o: patterns2.c $(DEPS)
patterns3.o: patterns3.c $(DEPS)
patterns4.o: patterns4.c $(DEPS)
pht.o: pht.c $(DEPS)
pixeliz.o: pixeliz.c $(DEPS)
pixels.o: pixels.c $(DEPS)
plotteur.o: plotteur.c $(DEPS)
pov_hf15a.o: pov_hf15a.c $(DEPS)
pov_hf15b.o: pov_hf15b.c $(DEPS)
pov_hf15c.o: pov_hf15c.c $(DEPS)
pov_hf15d.o: pov_hf15d.c $(DEPS)
pov_hf15e.o: pov_hf15e.c $(DEPS)
pov_hf15f.o: pov_hf15f.c $(DEPS)
pov_synth.o: pov_synth.c $(DEPS)
rgbmask.o: rgbmask.c $(DEPS)
scale.o: scale.c $(DEPS)
sobel4.o: sobel4.c $(DEPS)
tamppool.o: tamppool.c $(DEPS)
television.o: television.c $(DEPS)
2022-06-27 07:55:56 +11:00
text0.o: text0.c $(DEPS)
text1.o: text1.c $(DEPS)
text16x24.o: text16x24.c $(DEPS)
tga.o: tga.c $(DEPS)
2022-06-27 09:48:18 +11:00
tools.o: tools.c $(DEPS)
vignetize.o: vignetize.c $(DEPS)
warp0.o: warp0.c $(DEPS)
warp1.o: warp1.c $(DEPS)
warp2.o: warp2.c $(DEPS)
warp3.o: warp3.c $(DEPS)
2022-06-27 07:55:56 +11:00
#-----------------------------------------------------------------
2022-06-27 09:48:18 +11:00
OBJECTS = basic_io.o bitblt.o \
calculs.o classif.o col_xyz.o \
combine.o combine2.o combine3.o combine4.o combine5.o \
dither.o dither2.o dither3.o dither4.o \
doublesz.o drawing.o \
effects.o effects2.o effects3.o \
filtres.o \
halfsize.o \
image.o imprime.o \
luts15bits.o \
marques.o mircol.o msglib.o mustopen.o \
operat.o op2x2.o \
patterns.o patterns2.o patterns3.o patterns4.o \
pht.o pixeliz.o pixels.o plotteur.o \
pov_hf15a.o pov_hf15b.o pov_hf15c.o pov_hf15d.o \
pov_hf15e.o pov_hf15e.o pov_hf15f.o pov_synth.o \
rgbmask.o \
scale.o sobel4.o \
tamppool.o television.o text0.o text1.o text16x24.o \
tga.o tools.o \
vignetize.o \
warp0.o warp1.o warp2.o warp3.o
2022-06-27 07:55:56 +11:00
$(STATICLIB): $(OBJECTS)
$(AR) vrs $@ $?
2022-06-27 09:48:18 +11:00
$(RANLIB) $@
2022-06-27 07:55:56 +11:00
#-----------------------------------------------------------------
foo: foo.c $(DEPS) $(STATICLIB)
gcc $(CFLAGS) $< $(STATICLIB) -o $@
t_t16x24: t_t16x24.c $(DEPS) $(STATICLIB)
gcc $(CFLAGS) $< $(STATICLIB) -o $@
2022-06-26 21:22:12 +11:00
#-----------------------------------------------------------------
2022-06-27 09:48:18 +11:00
essais.o: essais.c $(DEPS) essais.h
gcc $(CFLAGS) $< -c
testtga: testtga.c $(DEPS) $(STATICLIB) essais.o
gcc $(CFLAGS) $< $(STATICLIB) essais.o -lm -o $@
2022-06-26 21:22:12 +11:00
#-----------------------------------------------------------------