Subversion Repositories wimsdev

Rev

Rev 8173 | Rev 8219 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# @configure_input@

wims_home=../../..
cc=@CC@
cflags=@CFLAGS@ -Wall
LDFLAGS=@LDFLAGS@
CPPFLAGS=@CPPFLAGS@

defines=@DEFINES@
rpath=@RPATH@
STRIP=@STRIP@
lopt=-L$(wims_home)/lib -lwims -lm $(rpath)

O=compile.o match.o suffix.o translate.o symtext.o

all:: symtext

%.o: %.c *.h
        $(cc) -o $@ $(cflags) $(defines) -c $<

clean::
        rm -f *.o symtext

distclean:
        rm -f *.o symtext
        cd $(wims_home)/public_html/bin; rm -f symtext 2>/dev/null; cd ../../src/Misc/symtext
        rm -f Makefile

symtext: $(O)
        $(cc) $(cflags) $(CPPFLAGS) $(LDFLAGS) $(O) $(lopt) -o symtext
        ./symtext -t
        $(STRIP) $@
        cp $@ $(wims_home)/public_html/bin