summaryrefslogtreecommitdiffstats
path: root/misc/dict_search/Makefile
blob: 0226c98b5ed72f832d1d590ccb8bb0ed184174bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TARGET=crypt_dict
CFLAGS=-O2 -g -Wall -D_GNU_SOURCE
LDLIBS=-lcryptsetup
CC=gcc

SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)

all: $(TARGET)

$(TARGET): $(OBJECTS)
	$(CC) -o $@ $^ $(LDLIBS)

clean:
	rm -f *.o *~ core $(TARGET)

.PHONY: clean