summaryrefslogtreecommitdiff
path: root/src/txt-converter/char/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/txt-converter/char/Makefile')
-rw-r--r--src/txt-converter/char/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/txt-converter/char/Makefile b/src/txt-converter/char/Makefile
new file mode 100644
index 000000000..b88df2610
--- /dev/null
+++ b/src/txt-converter/char/Makefile
@@ -0,0 +1,13 @@
+all: char-converter
+sql: char-converter
+
+COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o
+
+char-converter: char-converter.o strlib.o $(COMMON_OBJ)
+ $(CC) -o ../../../$@ $^ $(LIB_S)
+
+char-converter.o: char-converter.c char.h strlib.h
+strlib.o: strlib.c strlib.h
+clean:
+ rm -f *.o ../../../char-converter
+