Statistics
| Revision:

root / trunk / contrib / statslib / GNUmakefile @ 1418

History | View | Annotate | Download (443 Bytes)

1
ifeq ($(OS),Windows_NT)
2
EXT=.sh
3
endif
4

    
5
include objects.lst
6

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

    
9
$(PREFIX)%.obj: %.cpp
10
ifeq ($(SHELL),sh.exe)
11
	..\..\admb -c $(OPTION) $<
12
	copy $(basename $<).obj $@
13
	copy statsLib.h $(CONTRIB_DIR)\include
14
else
15
	../../admb$(EXT) -c $(OPTION) $<
16
	cp $(basename $<).obj $@
17
	cp statsLib.h $(CONTRIB_DIR)/include
18
endif
19

    
20
clean:
21
ifeq ($(SHELL),sh.exe)
22
	-del *.obj
23
	-del *.o
24
else
25
	@rm -vf *.obj
26
	@rm -vf *.o
27
endif