2016-11-20 | Paul Boddie | file changeset files shortlog | Added tentative implementations of several native functions. |
paul@161 | 1 | SRC = exceptions.c main.c native.c ops.c progops.c progtypes.c $(wildcard src/*.c) |
paul@126 | 2 | OBJ = $(SRC:.c=.o) |
paul@132 | 3 | CFLAGS = -I. |
paul@198 | 4 | LDFLAGS = -lm |
paul@126 | 5 | |
paul@126 | 6 | all: main |
paul@126 | 7 | |
paul@126 | 8 | clean: |
paul@126 | 9 | rm -f main $(OBJ) |
paul@126 | 10 | |
paul@126 | 11 | main: $(OBJ) |
paul@126 | 12 | $(CC) $(LDFLAGS) $(OBJ) -o $@ |
paul@126 | 13 | |
paul@126 | 14 | .c.o: |
paul@126 | 15 | $(CC) -c $(CFLAGS) $< -o $@ |