Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 1 | prefix = /usr |
Stefan Richter | b20d02e | 2010-07-22 11:58:05 +0200 | [diff] [blame^] | 2 | nosy-dump-version = 0.4 |
Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 3 | |
| 4 | CC = gcc |
| 5 | |
| 6 | all : nosy-dump |
| 7 | |
| 8 | nosy-dump : CFLAGS = -Wall -O2 -g |
Stefan Richter | b20d02e | 2010-07-22 11:58:05 +0200 | [diff] [blame^] | 9 | nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire |
Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 10 | nosy-dump : LDFLAGS = -g |
| 11 | nosy-dump : LDLIBS = -lpopt |
| 12 | |
| 13 | nosy-dump : nosy-dump.o decode-fcp.o |
| 14 | |
| 15 | clean : |
| 16 | rm -rf *.o nosy-dump |
| 17 | |
| 18 | install : |
| 19 | install nosy-dump $(prefix)/bin/nosy-dump |