From 4ca78b497ffaa13149783857efac435ad48efead Mon Sep 17 00:00:00 2001 From: call-cc Date: Tue, 2 Jun 2020 23:33:15 -0400 Subject: [PATCH] Improve makefile and mark ln as complete --- TODO.org | 4 +++- src/Makefile | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/TODO.org b/TODO.org index 3c841b9..02370f7 100644 --- a/TODO.org +++ b/TODO.org @@ -1,6 +1,8 @@ - [-] The rest of programs. - [X] yes - - [ ] ln + - [X] ln + - [ ] rm + - [ ] pwd - [ ] Manuals - [-] flags for the programs - [X] ln diff --git a/src/Makefile b/src/Makefile index 1f359e9..cffc24f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,6 +5,7 @@ CC = cc compile: $(CC) -c *.c $(CC) -o cat cat.o + $(CC) -o kill kill.o $(CC) -o dirname dirname.o $(CC) -o echo echo.o $(CC) -o ln ln.o @@ -15,6 +16,6 @@ compile: $(CC) -o yes yes.o clean: - rm *.o cat dirname echo ln mkdir pwd rmdir touch yes + rm *.o cat dirname echo ln mkdir pwd rmdir touch yes kill .PHONY: clean objclean compile