all: libpdf.a
-%.o: %.c
- $(C) -I./ -Wno-parentheses $< -o $@
+ttf2pt1_objects = ft.o ttf.o pt1.o ttf2pt1.o t1asm.o bdf.o bitmap.o
-ttf2pt1_objects = ft.o ttf.o pt1.o ttf2pt1.o t1asm.o
+ft.o: ft.c
+ $(C) -I./ -Wno-parentheses ft.c -o $@
+ttf.o: ttf.c
+ $(C) -I./ -Wno-parentheses ttf.c -o $@
+pt1.o: pt1.c
+ $(C) -I./ -Wno-parentheses pt1.c -o $@
+ttf2pt1.o: ttf2pt1.c
+ $(C) -I./ -Wno-parentheses ttf2pt1.c -o $@
+t1asm.o: t1asm.c
+ $(C) -I./ -Wno-parentheses t1asm.c -o $@
+bitmap.o: bitmap.c
+ $(C) -I./ -Wno-parentheses bitmap.c -o $@
+bdf.o: bdf.c
+ $(C) -I./ -Wno-parentheses bdf.c -o $@
libpdf.a: $(ttf2pt1_objects)
$(AR) r ttf2pt1.a $(ttf2pt1_objects)
uninstall:
clean:
- rm -f *.o *.lo *.a *.la
+ rm -f *.o *.lo *.a *.la gmon.out