2016-12-12 | Paul Boddie | file changeset files shortlog | Support incremental conversion of strings, handling incomplete sequences of characters, employing the string representation method to obtain the result. Added a native function to reset the iconv context. Added tests of feeding incomplete sequences followed by the remaining bytes. |
paul@354 | 1 | SRC = exceptions.c main.c $(wildcard native/*.c) ops.c progops.c progtypes.c $(wildcard src/*.c) |
paul@183 | 2 | OBJ = $(SRC:.c=.o) |
paul@183 | 3 | CFLAGS = -I. -g |
paul@198 | 4 | LDFLAGS = -lm |
paul@183 | 5 | |
paul@183 | 6 | all: main |
paul@183 | 7 | |
paul@183 | 8 | clean: |
paul@183 | 9 | rm -f main $(OBJ) |
paul@183 | 10 | |
paul@183 | 11 | main: $(OBJ) |
paul@183 | 12 | $(CC) $(LDFLAGS) $(OBJ) -o $@ |
paul@183 | 13 | |
paul@183 | 14 | .c.o: |
paul@183 | 15 | $(CC) -c $(CFLAGS) $< -o $@ |