libtthimage/Tools/Makefile

25 lines
615 B
Makefile

#-----------------------------------------------------------------
#
# Fabrication des outils - nouvelle version 26 juin 2022
#
#-----------------------------------------------------------------
include ../Paramakes.mk
DEPS = ../tthimage.h Makefile
all: tga_tools
#-----------------------------------------------------------------
fonctions.o: fonctions.c
gcc $(CFLAGS) -c $<
#-----------------------------------------------------------------
tga_tools: tga_tools.c $(DEPS) fonctions.o
gcc $(CFLAGS) $< ../libimage.a fonctions.o -o $@
#-----------------------------------------------------------------