summaryrefslogtreecommitdiff
path: root/tests/fs-tests/integrity/Makefile
blob: 2cdd4702e0705cfb70c93e4c43ee0dfc76e932ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

ifeq ($(origin CC),default)
CC = gcc
endif

COMMON_HEADERS_DIR := ../../../include

CFLAGS := $(CFLAGS) -Wall -g -O2 -I$(COMMON_HEADERS_DIR)

LDFLAGS := $(LDFLAGS)

TARGETS = integck

all: $(TARGETS)

# Disable optimizations to make it possible to use gdb comfortably
# Use -rdynamic to have stack backtraces
debug:
	gcc $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c -o integck

clean:
	rm -f *.o $(TARGETS)