k9core

Unnamed repository
Log | Files | Refs | LICENSE

commit e4758c0f9b0dac00ee92924b1408509555c00769
parent 66dbedad8237c918cb81b0006a1dd8b5a6ac5f6b
Author: call-cc <callcc@vxempire.xyz>
Date:   Tue,  2 Jun 2020 16:28:20 -0400

Remove note, improve makefile

Diffstat:
Msrc/Makefile | 8+++++++-
Msrc/ln.c | 1-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile @@ -11,5 +11,11 @@ compile: $(CC) -o rmdir rmdir.o $(CC) -o touch touch.o $(CC) -o yes yes.o -clean: + +objclean: *.o + rm *.o + +clean: objclean rm *.o cat dirname echo ln mkdir pwd rmdir touch yes + +.PHONY: clean objclean compile diff --git a/src/ln.c b/src/ln.c @@ -12,7 +12,6 @@ main(int argc, char *argv[]) } int opts; int fd; - /* I am aware that this doesn't conform to style, but it's the only option that actually works */ while((opts = getopt(argc, argv, "s:")) != -1) { switch(opts)