home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 8
/
amigaformatcd08.iso
/
in_the_mag
/
html_tutorial
/
makefile
< prev
next >
Wrap
Makefile
|
1996-05-18
|
1KB
|
50 lines
# Makefile for CGI scripts
# Location of CGI directory
CGI_DIRECTORY = /usr/local/etc/httpd/cgi-bin/mas
CPP= g++
# CPPFLAGS, compile flags for the C++ compeler
CPPFLAGS= -O2
all: mas_rec mas_try mas_cgi mas_env mas_form mas_run mas_view mas_cvo.o
mas_cvo.o: mas_cvo.cpp
$(CPP) $(CPPFLAGS) -c mas_cvo.cpp
mas_rec: mas_rec.cpp mas_cvo.o
$(CPP) $(CPPFLAGS) -o mas_rec mas_rec.cpp mas_cvo.o
mas_try: mas_try.cpp
$(CPP) $(CPPFLAGS) -o mas_try mas_try.cpp
mas_cgi: mas_cgi.cpp mas_cvo.o
$(CPP) $(CPPFLAGS) -o mas_cgi mas_cgi.cpp mas_cvo.o
mas_env: mas_env.cpp
$(CPP) $(CPPFLAGS) -o mas_env mas_env.cpp
mas_form: mas_form.cpp mas_cvo.o
$(CPP) $(CPPFLAGS) -o mas_form mas_form.cpp mas_cvo.o
mas_run: mas_run.cpp mas_cvo.o
$(CPP) $(CPPFLAGS) -o mas_run mas_run.cpp mas_cvo.o
mas_view:
$(CPP) $(CPPFLAGS) -o mas_view mas_view.cpp
clean:
rm -f mas_rec mas_try mas_cgi mas_env mas_form mas_run mas_view \
mas_cvo.o
install:
cp mas_rec $(CGI_DIRECTORY)/mas_rec
cp mas_try $(CGI_DIRECTORY)/mas_try
cp mas_cgi $(CGI_DIRECTORY)/mas_cgi
cp mas_env $(CGI_DIRECTORY)/mas_env
cp mas_form $(CGI_DIRECTORY)/mas_form
cp mas_run $(CGI_DIRECTORY)/mas_run
cp mas_view $(CGI_DIRECTORY)/mas_view