Skip to content
Snippets Groups Projects
Commit 736d362a authored by Arie Peterson's avatar Arie Peterson
Browse files

Add Makefile and Vagrantfile

parent 14b554f6
No related branches found
No related tags found
No related merge requests found
/.vagrant
*.swp
*.o
cryptops-api
Makefile 0 → 100644
TARGETS=cryptops-api
CFLAGS=-O0 -g -Wall -D_GNU_SOURCE -Iincludes
LDLIBS=-L/test/libraries -lcryptsetup -lc -lulfius -lyder -lorcania -ljansson
CC=gcc
all: $(TARGETS)
cryptops-api: cryptops-api.o
$(CC) -o $@ $^ $(LDLIBS)
clean:
rm -f *.o *~ core $(TARGETS)
.PHONY: clean
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "debian/jessie64"
config.vm.synced_folder ".", "/test", type: 'virtualbox'
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y libmicrohttpd-dev libjansson-dev libcurl4-gnutls-dev libgnutls28-dev libgcrypt20-dev libcryptsetup-dev
SHELL
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment