Revision 1408 trunk/contrib/qfclib/GNUmakefile

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

  
1 5
include objects.lst
2 6

  
3 7
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
......
3 7

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

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

Also available in: Unified diff