From 2837717c2a8306feeed8ff637211b2958fd5a553 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 6 Jun 2005 02:58:30 +0000 Subject: [PATCH] *** empty log message *** --- ase/test/stx/makefile.in | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/ase/test/stx/makefile.in b/ase/test/stx/makefile.in index 162f2a58..9a947865 100644 --- a/ase/test/stx/makefile.in +++ b/ase/test/stx/makefile.in @@ -1,16 +1,19 @@ -SRCS = stx.c -OUTS = $(SRCS:.c=.x) - CC = @CC@ CFLAGS = @CFLAGS@ -I@abs_top_builddir@ LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/stx LIBS = @LIBS@ -lxpstx -lxpbas -all: $(OUTS) +all: stx parser + +stx: stx.o + $(CC) $(LDFLAGS) -o $@ $< $(LIBS) + +parser: parser.o + $(CC) $(LDFLAGS) -o $@ $< $(LIBS) clean: rm -rf $(OUTS) *.o -.SUFFIXES: .c .x -.c.x: - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) +.SUFFIXES: .c .o +.c.o: + $(CC) $(CFLAGS) -c $<