84 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#-----------------------------------------------------------------
 | 
						|
#
 | 
						|
#	Fabrication des outils - nouvelle version 26 juin 2022
 | 
						|
#
 | 
						|
#-----------------------------------------------------------------
 | 
						|
 | 
						|
include ../Paramakes.mk
 | 
						|
 | 
						|
DEPS = ../tthimage.h Makefile tga_outils.h ../libtthimage.a
 | 
						|
 | 
						|
all:	genplot2						\
 | 
						|
	tga_cadre tga_effects tga_filtres tga_remap tga_tools	\
 | 
						|
	tga_combine tga_export tga_alpha			\
 | 
						|
	tga_television tga_dither tga_applymap tga_makehf15	\
 | 
						|
	tga_mires tga_incrust tga_pattern tga_equalize
 | 
						|
 | 
						|
# 'tga_info.c' do not compile yet
 | 
						|
 | 
						|
#-----------------------------------------------------------------
 | 
						|
 | 
						|
fonctions.o:	fonctions.c $(DEPS)
 | 
						|
	gcc $(CFLAGS) -c $< 
 | 
						|
 | 
						|
#-----------------------------------------------------------------
 | 
						|
 | 
						|
genplot2:	genplot2.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
#-----------------------------------------------------------------
 | 
						|
 | 
						|
tga_alpha:	tga_alpha.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_applymap:	tga_applymap.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_cadre:	tga_cadre.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_combine:	tga_combine.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_export:	tga_export.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_dither:	tga_dither.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_effects:	tga_effects.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_equalize:	tga_equalize.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_filtres:	tga_filtres.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_makehf15:	tga_makehf15.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_mires:	tga_mires.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_remap:	tga_remap.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_television:	tga_television.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_tools:	tga_tools.c $(DEPS) fonctions.o
 | 
						|
	gcc $(CFLAGS) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
tga_incrust:	tga_incrust.c $(DEPS) fonctions.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) $< ../libtthimage.a fonctions.o -lm -o $@
 | 
						|
 | 
						|
 | 
						|
#-----------------------------------------------------------------
 |