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)
|
|
|
|
|
|
|
|
drawing.o: drawing.c $(DEPS)
|
|
|
|
|
|
|
|
essais.o: essais.c $(DEPS) essais.h
|
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 07:55:56 +11:00
|
|
|
marques.o: marques.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)
|
|
|
|
|
|
|
|
pht.o: pht.c $(DEPS)
|
|
|
|
|
|
|
|
text0.o: text0.c $(DEPS)
|
|
|
|
text1.o: text1.c $(DEPS)
|
|
|
|
text16x24.o: text16x24.c $(DEPS)
|
|
|
|
tga.o: tga.c $(DEPS)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------
|
|
|
|
|
|
|
|
OBJECTS = basic_io.o \
|
|
|
|
drawing.o \
|
|
|
|
essais.o \
|
|
|
|
image.o imprime.o \
|
|
|
|
marques.o msglib.o mustopen.o \
|
|
|
|
pht.o \
|
|
|
|
text0.o text1.o text16x24.o tga.o
|
|
|
|
|
|
|
|
$(STATICLIB): $(OBJECTS)
|
|
|
|
$(AR) vrs $@ $?
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------
|
|
|
|
|
|
|
|
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 07:55:56 +11:00
|
|
|
testtga: testtga.c $(DEPS) $(STATICLIB)
|
|
|
|
gcc $(CFLAGS) $< $(STATICLIB) -o $@
|
2022-06-26 21:22:12 +11:00
|
|
|
|
|
|
|
#-----------------------------------------------------------------
|