Statistics
| Revision:

root / trunk / contrib / ad2csv / GNUmakefile @ 1408

History | View | Annotate | Download (462 Bytes)

1
ifneq (,$(findstring sh.exe,$(SHELL)))
2
  SHELL=cmd
3
endif
4

    
5
ifeq ($(SHELL),cmd)
6
..\..\build\dist\contrib\bin\ad2csv.exe: ad2csv.cpp main.cpp
7
	..\..\admb $(OPTION) $^
8
	copy ad2csv.exe $@
9
else
10
../../build/dist/contrib/bin/ad2csv: ad2csv.cpp main.cpp
11
	../../admb $(OPTION) $^
12
	cp ad2csv $@
13
endif
14

    
15
clean:
16
ifeq ($(SHELL),cmd)
17
	del ad2csv ad2csv.exe main.obj ad2csv.obj
18
	del main.o ad2csv.o
19
else
20
	rm -f ad2csv ad2csv.exe main.obj ad2csv.obj
21
	rm -f main.o ad2csv.o
22
endif