summaryrefslogtreecommitdiff
path: root/misc/src/txt-converter/char/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/src/txt-converter/char/Makefile')
-rw-r--r--misc/src/txt-converter/char/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/src/txt-converter/char/Makefile b/misc/src/txt-converter/char/Makefile
new file mode 100644
index 0000000..b88df26
--- /dev/null
+++ b/misc/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
+