*** empty log message ***
This commit is contained in:
parent
689e6e2bf8
commit
2837717c2a
@ -1,16 +1,19 @@
|
|||||||
SRCS = stx.c
|
|
||||||
OUTS = $(SRCS:.c=.x)
|
|
||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
||||||
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/stx
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/stx
|
||||||
LIBS = @LIBS@ -lxpstx -lxpbas
|
LIBS = @LIBS@ -lxpstx -lxpbas
|
||||||
|
|
||||||
all: $(OUTS)
|
all: stx parser
|
||||||
|
|
||||||
|
stx: stx.o
|
||||||
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
||||||
|
|
||||||
|
parser: parser.o
|
||||||
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OUTS) *.o
|
rm -rf $(OUTS) *.o
|
||||||
|
|
||||||
.SUFFIXES: .c .x
|
.SUFFIXES: .c .o
|
||||||
.c.x:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
Loading…
Reference in New Issue
Block a user