Rev 8219 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10 | reyssat | 1 | # @configure_input@ |
2 | |||
3 | wims_home=../.. |
||
4 | cc=@CC@ |
||
5 | cflags=@CFLAGS@ -Wall |
||
6776 | georgesk | 6 | LDFLAGS=@LDFLAGS@ |
7 | CPPFLAGS=@CPPFLAGS@ |
||
8 | |||
10 | reyssat | 9 | defines=@DEFINES@ |
10 | STRIP=@STRIP@ |
||
8100 | bpr | 11 | lopt=-L$(wims_home)/lib -lwims -lm $(rpath) |
8185 | bpr | 12 | O=basic.o colors.o tfm.o gf.o font.o image.o dvi.o texgif.o |
8219 | bpr | 13 | H=../Lib/libwims.h ../config.h ../includes.h ../wimsdef.h |
10 | reyssat | 14 | all: texgif |
15 | |||
8219 | bpr | 16 | %.o: %.c *.h $(H) |
17887 | georgesk | 17 | $(cc) -o $@ $(cflags) $(CPPFLAGS) $(defines) -c $< |
8103 | bpr | 18 | |
10 | reyssat | 19 | clean:: |
8134 | bpr | 20 | rm -f *.o texgif |
10 | reyssat | 21 | rm -fR test/texg* test/[0-9]* |
22 | |||
23 | distclean: clean |
||
24 | rm -f $(wims_home)/public_html/bin/tex..gif |
||
25 | rm -f Makefile |
||
26 | |||
8219 | bpr | 27 | texgif: $(O) |
8185 | bpr | 28 | $(cc) $(cflags) $(CPPFLAGS) $(LDFLAGS) $(defines) $(O) -lgd $(lopt) -o texgif |
10 | reyssat | 29 | $(STRIP) texgif |
30 | cp texgif $(wims_home)/public_html/bin/tex..gif |
||
31 | |||
32 | colors.c: ../Flydraw/colors colors.sh |
||
33 | ./colors.sh |