Revision 1409 trunk/contrib/qfclib/GNUmakefile

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

  
5 1
include objects.lst
6 2

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

  
9 5
$(PREFIX_OBJ)%.obj: %.cpp
10
ifeq ($(SHELL),cmd)
6
ifeq ($(SHELL),sh.exe)
11 7
	..\..\admb -c $(OPTION) $<
12 8
	copy $(basename $<).obj $@
13 9
else
......
19 15
	$(MAKE) --directory=tests
20 16

  
21 17
clean:
22
ifneq ($(SHELL),cmd)
18
ifneq ($(SHELL),sh.exe)
23 19
	@rm -vf *.obj
24 20
	@rm -vf *.o
25 21
	@rm -vf tests/testfunction.htp

Also available in: Unified diff