#----------------------------------------------------------------- # # # #----------------------------------------------------------------- include ../Paramakes.mk DEPS = ../tthimage.h Makefile STATICLIB = "../libimage.a" #----------------------------------------------------------------- basic_io.o: basic_io.c $(DEPS) drawing.o: drawing.c $(DEPS) essais.o: essais.c $(DEPS) essais.h image.o: image.c $(DEPS) imprime.o: imprime.c $(DEPS) marques.o: marques.c $(DEPS) msglib.o: msglib.c $(DEPS) 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 $@ #----------------------------------------------------------------- testtga: testtga.c $(DEPS) $(STATICLIB) gcc $(CFLAGS) $< $(STATICLIB) -o $@ #-----------------------------------------------------------------