Statistics
| Revision:

root / trunk / contrib / statslib / GNUmakefile @ 1408

History | View | Annotate | Download (380 Bytes)

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

    
5
include objects.lst
6

    
7
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
8

    
9
$(PREFIX_OBJ)%.obj: %.cpp
10
ifeq ($(SHELL),cmd)
11
	..\..\admb -c $(OPTION) $<
12
	copy $(basename $<).obj $@
13
else
14
	../../admb -c $(OPTION) $<
15
	cp $(basename $<).obj $@
16
endif
17

    
18
clean:
19
ifeq ($(SHELL),cmd)
20
	-del *.obj
21
	-del *.o
22
else
23
	@rm -vf *.obj
24
	@rm -vf *.o
25
endif