summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/makefile.unix
diff options
context:
space:
mode:
Diffstat (limited to 'reference/C/CONTRIB/OR_PRACTICAL_C/makefile.unix')
-rw-r--r--reference/C/CONTRIB/OR_PRACTICAL_C/makefile.unix16
1 files changed, 16 insertions, 0 deletions
diff --git a/reference/C/CONTRIB/OR_PRACTICAL_C/makefile.unix b/reference/C/CONTRIB/OR_PRACTICAL_C/makefile.unix
new file mode 100644
index 0000000..292313f
--- /dev/null
+++ b/reference/C/CONTRIB/OR_PRACTICAL_C/makefile.unix
@@ -0,0 +1,16 @@
+SRCS=tlint.c macros.c symbol.c fonts.c
+OBJS=tlint.o macros.o symbol.o fonts.o
+
+tlint:$(OBJS)
+ cc $(CFLAGS) -o tlint $(OBJS)
+
+lint:
+ lint -xh $(SRCS)
+
+fonts.o: fonts.c gen.h symbol.h
+
+macros.o: font.h gen.h macro.h macros.c symbol.h
+
+symbol.o: symbol.c symbol.h
+
+tlint.o: font.h gen.h macro.h tlint.c