2017-01-21 | Paul Boddie | raw annotate files changeset graph | Made class and function instance __name__ attributes leafnames, introducing a separate __mname__ attribute on classes and function instances to help support the reproduction of the full path of those objects. Updated the visitor example to use the __name__ attributes of node classes instead of special name attributes. |
1 SRC = exceptions.c main.c $(wildcard native/*.c) ops.c progops.c progtypes.c $(wildcard src/*.c) 2 OBJ = $(SRC:.c=.o) 3 CFLAGS = -Wall -I. -finput-charset=UTF-8 -g 4 LDFLAGS = -lm -lgc 5 6 ifdef ARCH 7 CC := $(ARCH)-$(CC) 8 endif 9 10 all: main 11 12 clean: 13 rm -f main $(OBJ) 14 15 main: $(OBJ) 16 $(CC) $(LDFLAGS) $(OBJ) -o $@ 17 18 .c.o: 19 $(CC) -c $(CFLAGS) $< -o $@