1693
|
1
|
|
2 include ../config.mak
|
|
3
|
|
4 SRCS = bitmap.c tga/tga.c jpeg/jpeg.c bmp/bmp.c
|
|
5 OBJS = bitmap.o tga/tga.o jpeg/jpeg.o bmp/bmp.o
|
|
6
|
|
7 .SUFFIXES: .c .o
|
|
8
|
|
9 .c.o:
|
|
10 $(CC) -c $(CFLAGS) -o $@ $<
|
|
11
|
|
12 ### TARGETS ###
|
|
13
|
|
14 all:
|
|
15 @( [ -e $(JPEGLIB) ] || \
|
|
16 make -C jpeg/jpeg-6b libjpeg.a )
|
|
17 # ( make -C jpeg/jpeg-6b libjpeg.a && mv jpeg/jpeg-6b/libjpeg.a "$(JPEGLIB)" ) )
|
|
18 $(MAKE) $(OBJS)
|
6036
|
19 $(AR) rc libbitmap.a $(OBJS) jpeg/jpeg-6b/*.o
|
1693
|
20 ranlib libbitmap.a
|
|
21 mv libbitmap.a ../libs
|
|
22
|
|
23 #comp:
|
|
24 # $(MAKE) $(OBJS)
|
|
25
|
|
26 clean:
|
|
27 $(MAKE) -C jpeg/jpeg-6b clean
|
|
28 -rm -rf $(OBJS) *.o *~ *.bak $(JPEGLIB)
|
|
29
|
|
30 dep: depend
|
|
31
|
|
32 depend:
|
|
33 makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
|
|
34
|
|
35 # DO NOT DELETE
|
|
36
|
|
37 bitmap.o: /usr/include/stdlib.h /usr/include/features.h
|
|
38 bitmap.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
|
|
39 bitmap.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stddef.h
|
|
40 bitmap.o: /usr/include/sys/types.h /usr/include/bits/types.h
|
|
41 bitmap.o: /usr/include/time.h /usr/include/endian.h
|
|
42 bitmap.o: /usr/include/bits/endian.h /usr/include/sys/select.h
|
|
43 bitmap.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
|
|
44 bitmap.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h
|
|
45 bitmap.o: /usr/include/stdio.h
|
|
46 bitmap.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stdarg.h
|
|
47 bitmap.o: /usr/include/libio.h /usr/include/_G_config.h
|
|
48 bitmap.o: /usr/include/bits/stdio_lim.h bitmap.h tga/tga.h bitmap.h
|
|
49 bitmap.o: jpeg/jpeg.h bmp/bmp.h
|
|
50 tga/tga.o: /usr/include/string.h /usr/include/features.h
|
|
51 tga/tga.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
|
|
52 tga/tga.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stddef.h
|
|
53 tga/tga.o: /usr/include/stdio.h
|
|
54 tga/tga.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stdarg.h
|
|
55 tga/tga.o: /usr/include/bits/types.h /usr/include/libio.h
|
|
56 tga/tga.o: /usr/include/_G_config.h /usr/include/bits/stdio_lim.h
|
|
57 tga/tga.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
|
|
58 tga/tga.o: /usr/include/endian.h /usr/include/bits/endian.h
|
|
59 tga/tga.o: /usr/include/sys/select.h /usr/include/bits/select.h
|
|
60 tga/tga.o: /usr/include/bits/sigset.h /usr/include/sys/sysmacros.h
|
|
61 tga/tga.o: /usr/include/alloca.h tga/tga.h bitmap.h
|
|
62 jpeg/jpeg.o: /usr/include/setjmp.h /usr/include/features.h
|
|
63 jpeg/jpeg.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
|
|
64 jpeg/jpeg.o: /usr/include/bits/setjmp.h /usr/include/bits/sigset.h
|
|
65 jpeg/jpeg.o: /usr/include/string.h
|
|
66 jpeg/jpeg.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stddef.h
|
|
67 jpeg/jpeg.o: /usr/include/stdlib.h /usr/include/sys/types.h
|
|
68 jpeg/jpeg.o: /usr/include/bits/types.h /usr/include/time.h
|
|
69 jpeg/jpeg.o: /usr/include/endian.h /usr/include/bits/endian.h
|
|
70 jpeg/jpeg.o: /usr/include/sys/select.h /usr/include/bits/select.h
|
|
71 jpeg/jpeg.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h
|
|
72 jpeg/jpeg.o: /usr/include/stdio.h
|
|
73 jpeg/jpeg.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stdarg.h
|
|
74 jpeg/jpeg.o: /usr/include/libio.h /usr/include/_G_config.h
|
|
75 jpeg/jpeg.o: /usr/include/bits/stdio_lim.h jpeg/jpeg-6b/jpeglib.h
|
|
76 jpeg/jpeg.o: jpeg/jpeg-6b/jconfig.h jpeg/jpeg-6b/jmorecfg.h bitmap.h
|
|
77 jpeg/jpeg.o: jpeg/jpeg.h
|
|
78 bmp/bmp.o: /usr/include/stdlib.h /usr/include/features.h
|
|
79 bmp/bmp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
|
|
80 bmp/bmp.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stddef.h
|
|
81 bmp/bmp.o: /usr/include/sys/types.h /usr/include/bits/types.h
|
|
82 bmp/bmp.o: /usr/include/time.h /usr/include/endian.h
|
|
83 bmp/bmp.o: /usr/include/bits/endian.h /usr/include/sys/select.h
|
|
84 bmp/bmp.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
|
|
85 bmp/bmp.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h
|
|
86 bmp/bmp.o: /usr/include/stdio.h
|
|
87 bmp/bmp.o: /usr/lib/gcc-lib/i386-linux/2.95.2/include/stdarg.h
|
|
88 bmp/bmp.o: /usr/include/libio.h /usr/include/_G_config.h
|
|
89 bmp/bmp.o: /usr/include/bits/stdio_lim.h bmp/bmp.h bitmap.h
|