From 22e4a480cf63c5a7ca481ce6dd5c73d2341da552 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Mart=C3=ADnez=20Mart=C3=AD?= Date: Mon, 14 Apr 2008 17:22:03 +0200 Subject: [PATCH] Some files changed to UTF8. mx3r.c remains in ASCII. Makefile added. --- Makefile | 13 +++++++++++++ README | 2 +- mx3r.c | 2 +- run | 5 ----- 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 Makefile delete mode 100755 run diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..76b6a6a --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +mx3r: mx3r.o + gcc -lstdc++ -lgcrypt -lgpg-error -o $@ $< + +mx3r.o: mx3r.c + gcc -c -o $@ $< + +all: mx3r + +run: mx3r + ./mx3r + +clean: + rm -f helloworld helloworld.o \ No newline at end of file diff --git a/README b/README index d50bc83..039feaf 100644 --- a/README +++ b/README @@ -19,7 +19,7 @@ a simple merge. 0.a. AUTHORS -- David Martínez Martí +- David Martínez Martí 0.b. LICENSE diff --git a/mx3r.c b/mx3r.c index 2af06e1..1857186 100644 --- a/mx3r.c +++ b/mx3r.c @@ -35,7 +35,7 @@ int main(int argc, char **argv) { if ( argc < 2 ) { fprintf( stderr, "Usage: %s \n", argv[0] ); fprintf( stderr, "Usage: %s --blr \n", argv[0] ); - exit( 1 ); + exit( 0 ); } if (argc > 4 && strcmp(argv[1],"--blr")==0) diff --git a/run b/run deleted file mode 100755 index 073b9fe..0000000 --- a/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -TESTFILE=$1 - -gcc mx3r.c -lstdc++ -lgcrypt -lgpg-error -o mx3r && ./mx3r - -- 2.11.4.GIT