# Makefile for regex

# Set up options for the compiler and linker
CCflags = -c -IC:,PCRE:   
Linkflags = -aif -Output $@ 

# Final target:
regex:  o.regex 
        link $(Linkflags) o.regex PCRE:o.pcrelib C:o.iconv_stubs C:o.stubs 

# Intermediate files:

o.regex:   c.regex
           cc $(ccflags) -o o.regex c.regex 
