*** empty log message ***
This commit is contained in:
16
ase/test/stx/makefile.in
Normal file
16
ase/test/stx/makefile.in
Normal file
@ -0,0 +1,16 @@
|
||||
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/lisp
|
||||
LIBS = @LIBS@ -lxpstx -lxpbas
|
||||
|
||||
all: $(OUTS)
|
||||
|
||||
clean:
|
||||
rm -rf $(OUTS) *.o
|
||||
|
||||
.SUFFIXES: .c .x
|
||||
.c.x:
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
|
@ -15,6 +15,10 @@ int xp_main ()
|
||||
stx.true = xp_stx_memory_alloc(&stx.memory, 0);
|
||||
stx.false = xp_stx_memory_alloc(&stx.memory, 0);
|
||||
|
||||
xp_printf (XP_TEXT("stx.nil %d\n"), stx.nil);
|
||||
xp_printf (XP_TEXT("stx.true %d\n"), stx.true);
|
||||
xp_printf (XP_TEXT("stx.false %d\n"), stx.false);
|
||||
|
||||
for (i = 0; i < 20; i++) {
|
||||
xp_printf (XP_TEXT("%d, %d\n"),
|
||||
i, xp_stx_memory_alloc(&stx.memory, 100));
|
||||
|
Reference in New Issue
Block a user