Alex Mikhalev 8d24829f67 Squashed 'components/u8g2/' content from commit 45ac4e0e
git-subtree-dir: components/u8g2
git-subtree-split: 45ac4e0edc76c6bc3d808304fccb73c543535ded
2019-01-15 20:36:08 -08:00

17 lines
419 B
Makefile

CFLAGS = -g -Wall -I../../../csrc/ -ICImg
CXXFLAGS = $(CFLAGS)
LDFLAGS = -lpthread
CSRC = $(wildcard ls ../../../csrc/*.c) ../common/u8x8_d_bitmap.c
CPPSRC = main.cpp
OBJ = $(CSRC:.c=.o) $(CPPSRC:.cpp=.o)
cimg_annotate_screenshot: $(OBJ) CImg
$(CXX) $(CFLAGS) $(LDFLAGS) $(OBJ) -o cimg_annotate_screenshot
CImg:
git clone --depth=1 https://github.com/dtschump/CImg.git
clean:
-rm $(OBJ) cimg_annotate_screenshot