Nicolas Pennequin | 3e2c51d | 2007-11-22 18:07:40 +0000 | [diff] [blame] | 1 | CFLAGS = -Wall |
| 2 | LIBS = -lmtp |
| 3 | OUTPUT = sendfirm |
| 4 | |
| 5 | all: $(OUTPUT) |
| 6 | |
| 7 | $(OUTPUT): sendfirm.c |
| 8 | gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c |
| 9 | |
Maurus Cuelenaere | 9366501 | 2008-07-03 23:30:28 +0000 | [diff] [blame] | 10 | $(OUTPUT).exe: sendfirm_win.c |
Maurus Cuelenaere | 46d8302 | 2008-07-04 11:38:08 +0000 | [diff] [blame^] | 11 | mingw32-gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll |
Maurus Cuelenaere | 9366501 | 2008-07-03 23:30:28 +0000 | [diff] [blame] | 12 | |
Nicolas Pennequin | 3e2c51d | 2007-11-22 18:07:40 +0000 | [diff] [blame] | 13 | clean: |
| 14 | rm -f $(OUTPUT) |