summaryrefslogtreecommitdiff
path: root/i/serialplot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'i/serialplot/Makefile')
-rw-r--r--i/serialplot/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/i/serialplot/Makefile b/i/serialplot/Makefile
new file mode 100644
index 0000000..0599042
--- /dev/null
+++ b/i/serialplot/Makefile
@@ -0,0 +1,11 @@
+CFLAGS = $(shell sdl-config --cflags) -g -Wall
+LDLIBS = $(shell sdl-config --libs) -lSDL_image -lefence
+OBJECTS = BFont.o serialplot_sdl.o serialplot_io.o serialplot_RdMch.o
+
+all: serialplot
+
+serialplot: $(OBJECTS) serialplot.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+clean:
+ rm -f serialplot *.o