summaryrefslogtreecommitdiff
path: root/libterm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libterm/Makefile')
-rw-r--r--libterm/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/libterm/Makefile b/libterm/Makefile
new file mode 100644
index 0000000..759b3f5
--- /dev/null
+++ b/libterm/Makefile
@@ -0,0 +1,16 @@
+PROJECT=libterm
+CC=gcc
+LD=ld
+CFLAGS=-g3
+
+make:
+ $(CC) $(CFLAGS) -c term.c
+ $(CC) $(CFLAGS) -c screen_modes.c
+ $(CC) $(CFLAGS) -c term_io.c
+ $(CC) $(CFLAGS) -c term_gui.c
+ $(LD) -r term.o screen_modes.o term_io.o term_gui.o -o $(PROJECT).o
+
+clean:
+ rm *.o
+
+