2019-08-07 00:30:57 +01:00
|
|
|
CC ?= gcc
|
2017-12-04 01:55:01 +00:00
|
|
|
|
2018-06-16 23:49:27 +01:00
|
|
|
CFLAGS = -Wall -Wextra -Werror -std=c11 -O2
|
2017-12-04 01:55:01 +00:00
|
|
|
|
2019-07-23 21:17:00 +01:00
|
|
|
.PHONY: all clean
|
2017-12-04 01:55:01 +00:00
|
|
|
|
|
|
|
SRCS = bin2c.c
|
|
|
|
|
2020-12-17 02:24:08 +00:00
|
|
|
all: bin2c
|
2019-07-23 21:17:00 +01:00
|
|
|
@:
|
|
|
|
|
2020-12-17 02:24:08 +00:00
|
|
|
bin2c: $(SRCS)
|
2017-12-04 01:55:01 +00:00
|
|
|
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) bin2c bin2c.exe
|