summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6dd74b2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+# uuterm, Copyright (C) 2006 Rich Felker; licensed under GNU GPL v2 only
+
+
+SRCS = main.c term.c comb.c tty.c alloc.c refresh.c ascii.c fbcon.c dblbuf.c
+OBJS = $(SRCS:.c=.o)
+
+CFLAGS = -O2 -s #-g
+LDFLAGS = -s
+
+-include config.mak
+
+all: uuterm
+
+$(OBJS): uuterm.h
+
+uuterm: $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS)
+
+clean:
+ rm -f $(OBJS) uuterm
+