Improve makefile and mark ln as complete
This commit is contained in:
parent
85f3c318ae
commit
4ca78b497f
4
TODO.org
4
TODO.org
|
@ -1,6 +1,8 @@
|
||||||
- [-] The rest of programs.
|
- [-] The rest of programs.
|
||||||
- [X] yes
|
- [X] yes
|
||||||
- [ ] ln
|
- [X] ln
|
||||||
|
- [ ] rm
|
||||||
|
- [ ] pwd
|
||||||
- [ ] Manuals
|
- [ ] Manuals
|
||||||
- [-] flags for the programs
|
- [-] flags for the programs
|
||||||
- [X] ln
|
- [X] ln
|
||||||
|
|
|
@ -5,6 +5,7 @@ CC = cc
|
||||||
compile:
|
compile:
|
||||||
$(CC) -c *.c
|
$(CC) -c *.c
|
||||||
$(CC) -o cat cat.o
|
$(CC) -o cat cat.o
|
||||||
|
$(CC) -o kill kill.o
|
||||||
$(CC) -o dirname dirname.o
|
$(CC) -o dirname dirname.o
|
||||||
$(CC) -o echo echo.o
|
$(CC) -o echo echo.o
|
||||||
$(CC) -o ln ln.o
|
$(CC) -o ln ln.o
|
||||||
|
@ -15,6 +16,6 @@ compile:
|
||||||
$(CC) -o yes yes.o
|
$(CC) -o yes yes.o
|
||||||
|
|
||||||
clean:
|
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
|
.PHONY: clean objclean compile
|
||||||
|
|
Loading…
Reference in New Issue