diff rvinterf/ctracedec/Makefile @ 859:d32dff865575

ctracedec compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 02 May 2015 08:21:21 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rvinterf/ctracedec/Makefile	Sat May 02 08:21:21 2015 +0000
@@ -0,0 +1,17 @@
+CC=	gcc
+CFLAGS=	-O2
+PROG=	ctracedec
+OBJS=	decode.o doprnt.o main.o processlog.o readtab.o
+INSTBIN=/usr/local/bin
+
+all:	${PROG}
+
+${PROG}: ${OBJS}
+	${CC} ${CFLAGS} -o $@ ${OBJS}
+
+install:	${PROG}
+	mkdir -p ${INSTBIN}
+	install -c ${PROG} ${INSTBIN}
+
+clean:
+	rm -f *.o *.out *errs ${PROG}