diff --git a/asoft_sound/Makefile b/asoft_sound/Makefile new file mode 100644 index 00000000..9f741a0c --- /dev/null +++ b/asoft_sound/Makefile @@ -0,0 +1,16 @@ +include ../Makefile.inc + +all: asoft_sound + +asoft_sound: asoft_sound.o + $(CC) $(LFLAGS) -o asoft_sound asoft_sound.o + +asoft_sound.o: asoft_sound.c + $(CC) $(CFLAGS) -c asoft_sound.c + + +install: + cp asoft_sound $(INSTALL_LOC) + +clean: + rm -f *~ *.o asoft_sound diff --git a/asoft_sound/asoft_sound.c b/asoft_sound/asoft_sound.c new file mode 100644 index 00000000..c5b38997 --- /dev/null +++ b/asoft_sound/asoft_sound.c @@ -0,0 +1,15 @@ +#include + +int main(int argc, char **argv) { + + char string[BUFSIZ]; + char *result; + + while(1) { + result=fgets(string,BUFSIZ,stdin); + if (result==NULL) break; + printf("%s",result); + } + + return 0; +}