Makefile 506 B

1234567891011121314
  1. CC=gcc
  2. CFLAGS=-g -Wall -I. -fPIC -pie
  3. all: vm-file-editor qopen-in-vm qfile-agent qfile-unpacker
  4. vm-file-editor: vm-file-editor.o ioall.o
  5. $(CC) -pie -g -o $@ $^
  6. qopen-in-vm: qopen-in-vm.o ioall.o gui-fatal.o
  7. $(CC) -pie -g -o $@ $^
  8. qfile-agent: qfile-agent.o ioall.o gui-fatal.o copy-file.o crc32.o
  9. $(CC) -pie -g -o $@ $^
  10. qfile-unpacker: qfile-unpacker.o ioall.o gui-fatal.o copy-file.o unpack.o crc32.o
  11. $(CC) -pie -g -o $@ $^
  12. clean:
  13. rm -f qopen-in-vm qfile-agent qfile-unpacker vm-file-editor *.o *~