Files
regex/demo/regress/sunpro.mak

29 lines
390 B
Makefile
Raw Normal View History

# Makefile for timer application
#
# for SUN workshop 5.0 C++ compiler
#
CXX=CC
CPP_FLAGS = -O -I../../../../ -I./
all: r2 r5
r2 tests.txt
r5 tests.txt
%.o : %.cpp
$(CXX) -c -o $@ $(CPP_FLAGS) $<
r2 : r2.o
$(CXX) -o $@ $(CPP_FLAGS) r2.o -L../../lib -lregex++
r5 : r5.o
$(CXX) -o $@ $(CPP_FLAGS) r5.o -L../../lib -lregex++
clean:
rm -rf SunWS_cache
rm -f r2.o r2 r5 r5.o