Statistics
| Revision:

root / trunk / contrib / statslib / GNUmakefile @ 1389

History | View | Annotate | Download (328 Bytes)

1
include objects.lst
2

    
3
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
4

    
5
$(PREFIX_OBJ)%.obj: %.cpp
6
ifeq ($(SHELL),sh.exe)
7
	..\..\admb -c $(OPTION) $<
8
	copy $(basename $<).obj $@
9
else
10
	../../admb -c $(OPTION) $<
11
	cp $(basename $<).obj $@
12
endif
13

    
14
clean:
15
ifeq ($(SHELL),sh.exe)
16
	-del *.obj
17
	-del *.o
18
else
19
	@rm -vf *.obj
20
	@rm -vf *.o
21
endif