summaryrefslogtreecommitdiff
path: root/tools/bin2c/Makefile
blob: dd4e537a28abb892768accfa67f1e9e5d8f40153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CC = gcc

CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -s

.PHONY: all clean

SRCS = bin2c.c

all: bin2c
	@:

bin2c: $(SRCS)
	$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)

clean:
	$(RM) bin2c bin2c.exe