Revision 936 trunk/src/df1b2-separable/GNUmakefile

GNUmakefile (revision 936)
2 2

  
3 3
all: $(sort $(addprefix $(PREFIX_OBJ), $(OBJ0) $(OBJ1) $(OBJ2) $(OBJ3)))
4 4

  
5
ifneq ($(SHELL),sh.exe)
5 6
bins: $(DISKDIR)/bin/tpl2rem
6 7

  
7 8
$(DISKDIR)/bin/tpl2rem: tpl2rem.c
......
14 15
lex.yy.c: tpl2rem.lex
15 16
	if [ `command -v flex` ]; then flex -v -w $^; else rm -vf $@; fi
16 17
	if [ ! -f $@ ]; then touch $@; fi
18
else
19
bins: $(DISKDIR)\bin\tpl2rem.exe
17 20

  
21
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem-winflex.c
22
	$(CC) $(CFLAGS) -o $@ $<
23

  
24
endif
25

  
18 26
$(PREFIX_OBJ)%.obj:%.cpp
19 27
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Also available in: Unified diff