Initial import, starting with kyle's editor.

This commit is contained in:
2020-02-07 20:46:43 -08:00
commit 42658b8d98
4 changed files with 128 additions and 0 deletions

22
ke/Makefile Normal file
View File

@@ -0,0 +1,22 @@
BIN := ke
OBJS := main.o
LDFLAGS := -static
CFLAGS := -pedantic -Wall -Werror -Wextra -O2 -std=c99
.PHONY: all
all: $(BIN) run
$(BIN): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS)
.PHONY: clean
clean:
rm -f $(BIN) $(OBJS)
.PHONY: run
run: $(BIN)
./$(BIN)
%.o: %.c
$(CC) $(CFLAGS) -c $@ $<