Browse code

renamed recenteditor_data to re_data, recenteditor_tests to re_tests

Dario Rodriguez authored on 01/04/2019 21:26:29
Showing 5 changed files
... ...
@@ -4,20 +4,20 @@ LDFLAGS=-lSDL2 -lSDL2_image
4 4
 
5 5
 all: re tests
6 6
 
7
-recenteditor.o: recenteditor.c recenteditor_data.h
7
+recenteditor.o: recenteditor.c re_data.h
8 8
 
9
-recenteditor_data.o: recenteditor_data.c recenteditor_data.h
9
+re_data.o: re_data.c re_data.h
10 10
 
11
-recenteditor_tests.o: recenteditor_tests.c recenteditor_data.h
11
+re_tests.o: re_tests.c re_data.h
12 12
 
13 13
 sha3.o: sha3/sha3.c sha3/sha3.h
14 14
 	$(CC) $(CFLAGS) -Isha3 -c -o sha3.o sha3/sha3.c
15 15
 
16
-re: recenteditor.o recenteditor_data.o sha3.o
17
-	$(CC) $(LDFLAGS) -o re recenteditor.o recenteditor_data.o sha3.o
16
+re: recenteditor.o re_data.o sha3.o
17
+	$(CC) $(LDFLAGS) -o re recenteditor.o re_data.o sha3.o
18 18
 
19
-tests: recenteditor_tests.o recenteditor_data.o sha3.o
20
-	$(CC) $(LDFLAGS) -o tests recenteditor_tests.o recenteditor_data.o sha3.o
19
+tests: re_tests.o re_data.o sha3.o
20
+	$(CC) $(LDFLAGS) -o tests re_tests.o re_data.o sha3.o
21 21
 
22 22
 clean:
23
-	rm -f recenteditor.o recenteditor_data.o sha3.o re
23
+	rm -f recenteditor.o re_data.o re_tests.o sha3.o re tests
24 24
similarity index 99%
25 25
rename from recenteditor_data.c
26 26
rename to re_data.c
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * recenteditor_data.c
2
+ * re_data.c
3 3
  *
4 4
  * A programmers editor
5 5
  *
... ...
@@ -19,7 +19,7 @@
19 19
 #include <limits.h>
20 20
 #include <inttypes.h>
21 21
 
22
-#include "recenteditor_data.h"
22
+#include "re_data.h"
23 23
 #include "sha3/sha3.h"
24 24
 
25 25
 #define CHUNKSIZE 32768
26 26
similarity index 99%
27 27
rename from recenteditor_data.h
28 28
rename to re_data.h
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * recenteditor_data.c
2
+ * re_data.c
3 3
  *
4 4
  * A programmers editor
5 5
  *
6 6
similarity index 99%
7 7
rename from recenteditor_tests.c
8 8
rename to re_tests.c
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * recenteditor_data.c
2
+ * re_tests.c
3 3
  *
4 4
  * A programmers editor
5 5
  *
... ...
@@ -17,7 +17,7 @@
17 17
 #include <fcntl.h>
18 18
 #include <errno.h>
19 19
 
20
-#include "recenteditor_data.h"
20
+#include "re_data.h"
21 21
 
22 22
 #define PREFIX "retest_"
23 23
 #define TEST_OK "OK"
... ...
@@ -13,7 +13,7 @@
13 13
 #include <string.h>
14 14
 #include <limits.h>
15 15
 
16
-#include "recenteditor_data.h"
16
+#include "re_data.h"
17 17
 
18 18
 typedef struct re_t {
19 19
         redata_t *redata;