Makefile

changeset 91
fac51f87def0
parent 46
636e05eb48f6
child 270
4cfaa02055cd
equal deleted inserted replaced
90:279f343bbf6c 91:fac51f87def0
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 all: config.mk 29 all: config.mk build/bin build/lib
30 @echo "build server" 30 @echo "build server"
31 cd src; $(MAKE) all 31 cd src; $(MAKE) all
32
33 build/bin:
34 mkdir -p build/bin
35
36 build/lib:
37 mkdir -p build/lib
32 38
33 config.mk: 39 config.mk:
34 @echo "create config" 40 @echo "create config"
35 ./configure 41 ./configure
36 42
37 clean: 43 clean:
38 @echo "clean" 44 @echo "clean"
39 rm -f -R build
40 rm -f -R work
41
42 cleanbuild:
43 @echo "clean build"
44 rm -f -R build 45 rm -f -R build
45 46
46 cleanall: 47 cleanall:
47 @echo "clean all" 48 @echo "clean all"
48 rm -f -R build 49 rm -f -R build

mercurial