aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio/showevent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rio/showevent/Makefile')
-rw-r--r--src/cmd/rio/showevent/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cmd/rio/showevent/Makefile b/src/cmd/rio/showevent/Makefile
new file mode 100644
index 00000000..9e70f565
--- /dev/null
+++ b/src/cmd/rio/showevent/Makefile
@@ -0,0 +1,13 @@
+CFLAGS = -g
+INCLUDE = -I/global/include
+LFLAGS = -L/global/lib
+OBJS = ShowEvent.o sample.o
+LIBS = -lX11
+
+all: sample
+
+.c.o:
+ $(CC) $(INCLUDE) $(CFLAGS) -c $<
+
+sample: $(OBJS)
+ $(CC) $(LFLAGS) $(OBJS) $(LIBS) -o sample