This commit is contained in:
tTh
2024-05-01 21:38:19 +02:00
parent 85dbf384bd
commit 11e87efd67
7 changed files with 55 additions and 33 deletions

View File

@@ -19,6 +19,9 @@ OBJS = fimg-png.o fimg-tiff.o misc-plots.o filtrage.o utils.o \
#---------------------------------------------------------------
tests.o: tests.c tests.h $(DEPS)
gcc $(COPT) -I/usr/include/netpbm -c $<
t: t.c $(DEPS) ../libfloatimg.a tests.o
gcc $(COPT) $< \
tests.o \
@@ -28,8 +31,9 @@ t: t.c $(DEPS) ../libfloatimg.a tests.o
-ltiff \
-lz -lm -o $@
tests.o: tests.c tests.h $(DEPS)
gcc $(COPT) -I/usr/include/netpbm -c $<
tpnm: tpnm.c Makefile fimg-libpnm.o
gcc $(COPT) -I/usr/include/netpbm \
fimg-libpnm.o -lnetpbm $< -o $@
#---------------------------------------------------------------
# upper-level functions