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