*** empty log message ***
This commit is contained in:
parent
6e7d76a514
commit
cb9fa6530a
@ -1,20 +1,23 @@
|
|||||||
|
#
|
||||||
|
# $Id: makefile.in,v 1.16 2007-03-24 05:02:52 bacon Exp $
|
||||||
|
#
|
||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
||||||
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/cmn -L@abs_top_builddir@/awk -L@abs_top_builddir@/utl
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@
|
||||||
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
|
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
|
||||||
|
MODE = @BUILDMODE@
|
||||||
|
|
||||||
all: aseawk mini
|
OUT_DIR = ../../$(MODE)
|
||||||
|
|
||||||
aseawk: awk.o
|
all: $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk
|
||||||
$(CC) -o $@ awk.o $(LDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
mini: mini.o
|
$(OUT_DIR)/aseawk:
|
||||||
$(CC) -o $@ mini.o $(LDFLAGS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
$(OUT_DIR)/miniawk:
|
||||||
|
$(CC) $(CFLAGS) -o $@ mini.c $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.o aseawk mini
|
rm -rf $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk
|
||||||
|
|
||||||
.SUFFIXES: .c .o
|
|
||||||
.c.o:
|
|
||||||
$(CC) -c $(CFLAGS) $<
|
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
SRCS = lsp.c
|
#
|
||||||
OBJS = $(SRCS:.c=.o)
|
# $Id: makefile.in,v 1.11 2007-03-24 05:02:52 bacon Exp $
|
||||||
|
#
|
||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
||||||
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/cmn -L@abs_top_builddir@/lsp -L@abs_top_builddir@/utl
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@
|
||||||
LIBS = @LIBS@ -laseutl -laselsp -lasecmn -lm
|
LIBS = @LIBS@ -laselsp -lasecmn -laseutl -lm
|
||||||
|
MODE = @BUILDMODE@
|
||||||
|
|
||||||
all: aselsp
|
OUT_DIR = ../../$(MODE)
|
||||||
|
|
||||||
aselsp: $(OBJS)
|
all: $(OUT_DIR)/aselsp
|
||||||
$(CC) -o $@ lsp.o $(LDFLAGS) $(LIBS)
|
|
||||||
|
$(OUT_DIR)/aselsp:
|
||||||
|
$(CC) $(CFLAGS) -o $@ lsp.c $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.o aselsp
|
rm -rf $(OUT_DIR)/aselsp
|
||||||
|
|
||||||
.SUFFIXES: .c .o
|
|
||||||
.c.o:
|
|
||||||
$(CC) -c $(CFLAGS) $<
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user