[go: up one dir, main page]

Menu

[bde3dc]: / Microline / Makefile  Maximize  Restore  History

Download this file

28 lines (24 with data), 827 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: Makefile,v 1.3 2005/03/23 12:34:27 edg Exp $
SHELL=/bin/sh
#
# Makefile for NEdit text editor
#
# Targets are the suffixes of the system-specific makefiles in
# the makefiles/ directory.
# For example, to build NEdit for Solaris, give the command
#
# make solaris
#
# This builds an intermediate library in the util/ directory,
# then builds the nedit and nc executables in the source/ directory.
#
all:
@echo "Please specify target:"
@echo "(For example, type \"make linux\" for a Linux system.)"
@(cd ../makefiles && ls -C Makefile* | sed -e 's/Makefile.//g')
.DEFAULT:
@- (cd XmL; if [ -f ../../makefiles/Makefile.$@ -a ! -f ./Makefile.$@ ];\
then ln -s ../../makefiles/Makefile.$@ .; fi)
@- (cd XmL; $(MAKE) -f Makefile.$@ libXmL.a)
clean:
@- (cd XmL; $(MAKE) -f Makefile.common clean)