moving files around...

This commit is contained in:
tth
2022-06-26 22:55:56 +02:00
parent 75a06cf5b4
commit 96d7a5399f
26 changed files with 1180 additions and 41 deletions

View File

@@ -8,16 +8,55 @@ 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)
#-----------------------------------------------------------------
foo: foo.c $(DEPS) image.o msglib.o
gcc $(CFLAGS) $< image.o msglib.o -o $@
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 $@
#-----------------------------------------------------------------