diff options
author | Aki <please@ignore.pl> | 2022-01-24 21:26:19 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-24 21:26:19 +0100 |
commit | e255bb961b9db20fa9602e9313d9949ee92ec702 (patch) | |
tree | d2621784ef6ec11345403b38e02889b5fb9cae0f | |
parent | e4c74e9d1c97feccb0c5337baceab4fc4aec592c (diff) | |
download | coreutils-e255bb961b9db20fa9602e9313d9949ee92ec702.zip coreutils-e255bb961b9db20fa9602e9313d9949ee92ec702.tar.gz coreutils-e255bb961b9db20fa9602e9313d9949ee92ec702.tar.bz2 |
Added false and true utilities
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | false.c | 6 | ||||
-rw-r--r-- | true.c | 6 |
4 files changed, 17 insertions, 2 deletions
@@ -1,3 +1,5 @@ *.o cat fallocate +false +true @@ -1,10 +1,11 @@ CFLAGS+=-std=c11 -Wall -Wextra -Wpedantic -D_POSIX_C_SOURCE=200809L +UTILS=cat fallocate false true -all: cat fallocate +all: ${UTILS} cat: cat.o panic.o clean: - rm -f *.o cat fallocate + rm -f *.o ${UTILS} .PHONY: all clean @@ -0,0 +1,6 @@ +int main(int argc, char * argv[]) +{ + (void) argc; + (void) argv; + return 1; +} @@ -0,0 +1,6 @@ +int main(int argc, char * argv[]) +{ + (void) argc; + (void) argv; + return 0; +} |