Makefile 657 B

12345678910111213141516
  1. CC=gcc
  2. CFLAGS=-g -O2 -Wall -Wextra -Werror -I. -fPIC -pie
  3. all: vm-file-editor qopen-in-vm qfile-agent qfile-unpacker tar2qfile
  4. vm-file-editor: vm-file-editor.o
  5. $(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy
  6. qopen-in-vm: qopen-in-vm.o gui-fatal.o
  7. $(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy
  8. qfile-agent: qfile-agent.o gui-fatal.o qfile-utils.o
  9. $(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy
  10. qfile-unpacker: qfile-unpacker.o gui-fatal.o
  11. $(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy
  12. tar2qfile: qfile-utils.o tar2qfile.o gui-fatal.o
  13. $(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy
  14. clean:
  15. rm -f qopen-in-vm qfile-agent qfile-unpacker tar2qfile vm-file-editor *.o *~