Lichen

templates/Makefile

336:8c75cdf1a764
2016-12-06 Paul Boddie Introduced stream classes employing C-level FILE pointers, changing the sys stdin, stdout and stderr objects to be instances of these stream classes. Added fread and fwrite support to the native functions. Added support for raising EOFError.
     1 SRC = exceptions.c main.c native.c ops.c progops.c progtypes.c $(wildcard src/*.c)     2 OBJ = $(SRC:.c=.o)     3 CFLAGS = -I.     4 LDFLAGS = -lm     5      6 all: main     7      8 clean:     9 	rm -f main $(OBJ)    10     11 main: $(OBJ)    12 	$(CC) $(LDFLAGS) $(OBJ) -o $@    13     14 .c.o:    15 	$(CC) -c $(CFLAGS) $< -o $@