-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 694 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Specify the shell environment for make
SHELL := /bin/bash
# Directory for output binary files
BIN_DIR := bin
# Default target
all: vbox-server vbox-client docker-build
# Build vbox-server binary
vbox-server:
@echo "Building vbox-server..."
@go build -o $(BIN_DIR)/vbox-server vbox-server.go
# Build vbox-client binary
vbox-client:
@echo "Building vbox-client..."
@go build -o $(BIN_DIR)/vbox-client vbox-client.go
# Build Docker image
docker-build:
@echo "Building Docker image..."
@docker build -t cuckoo .
# Clean up binaries and temporary files
clean:
@echo "Cleaning up..."
@rm -rf $(BIN_DIR)
# Declare phony targets
.PHONY: all vbox-server vbox-client docker-build clean