Statistics
| Revision:

root / trunk / contrib / statslib / GNUmakefile @ 1412

History | View | Annotate | Download (373 Bytes)

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

    
5
include objects.lst
6

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

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

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