summaryrefslogtreecommitdiff
path: root/i/serialplot/Makefile
blob: 1f88001470449dc37e4f40507f5ccea8eb33cadc (plain)
1
2
3
4
5
6
7
8
9
10
11
CFLAGS = $(shell sdl-config --cflags) -g -Wall
LDLIBS = $(shell sdl-config --libs) -g -Wall -lSDL_image
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