bof_presentation/assets/bof/logic/Makefile

17 lines
240 B
Makefile
Raw Normal View History

2022-09-28 19:22:48 +02:00
# use bash so process substutution is available
CC = gcc
CFLAGS = -fno-stack-protector -g
SHELL = bash
SRC = logic.c
TARGET = $(SRC:%.c=%)
.PHONY: build
build: $(TARGET)
%: %.c
$(CC) ${CFLAGS} $< -o $@
.PHONY: clean
clean:
rm -f logic