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