Permalink
Browse files

Rename the actual built tools to c99conv/c99wrap

These names are slightly less ambiguous.
  • Loading branch information...
1 parent c3ccfdc commit efe7a057f53811e5353c1e7b3a06f3c2a771c3e5 @mstorsjo mstorsjo committed Sep 4, 2012
Showing with 11 additions and 11 deletions.
  1. +10 −10 Makefile
  2. +1 −1 compilewrap.c
View
20 Makefile
@@ -1,6 +1,6 @@
EXT =
-all: converter$(EXT) compilewrap$(EXT)
+all: c99conv$(EXT) c99wrap$(EXT)
OBJS = convert.o
@@ -11,28 +11,28 @@ LDFLAGS=-L/opt/local/libexec/llvm-3.2/lib -g
LIBS=-lclang
clean:
- rm -f converter$(EXT) compilewrap$(EXT) $(OBJS) compilewrap.o
+ rm -f c99conv$(EXT) c99wrap$(EXT) $(OBJS) compilewrap.o
rm -f unit.c.c unit2.c.c
-test1: converter$(EXT)
+test1: c99conv$(EXT)
$(CC) -E unit.c -o unit.prev.c
- ./converter unit.prev.c unit.post.c
+ ./c99conv unit.prev.c unit.post.c
diff -u unit.{prev,post}.c
-test2: converter$(EXT)
+test2: c99conv$(EXT)
$(CC) -E unit2.c -o unit2.prev.c
- ./converter unit2.prev.c unit2.post.c
+ ./c99conv unit2.prev.c unit2.post.c
diff -u unit2.{prev,post}.c
-test3: converter$(EXT)
+test3: c99conv$(EXT)
$(CC) $(CFLAGS) -E -o convert.prev.c convert.c
- ./converter convert.prev.c convert.post.c
+ ./c99conv convert.prev.c convert.post.c
diff -u convert.{prev,post}.c
-converter$(EXT): $(OBJS)
+c99conv$(EXT): $(OBJS)
$(CC) -o $@ $< $(LDFLAGS) $(LIBS)
-compilewrap$(EXT): compilewrap.o
+c99wrap$(EXT): compilewrap.o
$(CC) -o $@ $< $(LDFLAGS)
%.o: %.c
View
2 compilewrap.c
@@ -26,7 +26,7 @@
#include <unistd.h>
#endif
-#define CONVERTER "converter"
+#define CONVERTER "c99conv"
static char* create_cmdline(char **argv)
{

0 comments on commit efe7a05

Please sign in to comment.