diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fbabe14 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +CC ?= cc +CFLAGS ?= -O2 -Wall -Wextra +LDFLAGS ?= + +TARGET = vcpu_steal +SOURCE = vcpu_steal.c + +.PHONY: all run clean + +all: $(TARGET) + +$(TARGET): $(SOURCE) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + +run: $(TARGET) + ./$(TARGET) + +clean: + rm -f $(TARGET) |
