removed clang-format and clang_complete files from the repo
[dosdemo] / tools / img2bin / Makefile
1 obj = img2bin.o
2 bin = img2bin
3
4 root = ../..
5
6 imagodir = $(root)/libs/imago
7 libimago = $(imagodir)/libimago.a
8
9 CFLAGS = -pedantic -Wall -g -I$(imagodir)/src
10 LDFLAGS = -L$(imagodir) -limago -lm
11
12 $(bin): $(obj) $(libimago)
13         $(CC) -o $@ $(obj) $(LDFLAGS)
14
15 $(libimago):
16         $(MAKE) -C $(imagodir)
17
18 .PHONY: clean
19 clean:
20         rm -f $(obj) $(bin)