TARGETS := cow-shmem cow-client kvmtest-arm64 | |
all: $(TARGETS) | |
FLAGS := -static -Wall -Werror -D_GNU_SOURCE | |
$(TARGETS): %: %.o helpers.o | |
aarch64-linux-gnu-gcc -o $@ $^ $(FLAGS) | |
%.o: %.c | |
aarch64-linux-gnu-gcc -c -o $@ $< $(FLAGS) | |
clean: | |
$(RM) $(TARGETS) *.o *~ | |
upload: all | |
scp -P 8022 $(TARGETS) keirf@localhost:~/. |