Lichen

templates/Makefile

344:5f24a4b9d16a
2016-12-08 Paul Boddie Added comments and copyright and licensing information.
     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 $@