Makefile 359 B

1234567891011121314151617181920
  1. prefix = /usr
  2. nosy-dump-version = 0.4
  3. CC = gcc
  4. all : nosy-dump
  5. nosy-dump : CFLAGS = -Wall -O2 -g
  6. nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
  7. nosy-dump : LDFLAGS = -g
  8. nosy-dump : LDLIBS = -lpopt
  9. nosy-dump : nosy-dump.o decode-fcp.o
  10. clean :
  11. rm -rf *.o nosy-dump
  12. install :
  13. install nosy-dump $(prefix)/bin/nosy-dump