Revision 1085 trunk/src/df1b2-separable/GNUmakefile

GNUmakefile (revision 1085)
1
ifneq ($(SHELL),sh.exe)
1
ifeq ($(TERMINAL),dos)
2
bins: $(DISKDIR)\bin\tpl2rem.exe
3

  
4
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem-winflex.c
5
	$(CC) $(CFLAGS) -o $@ $<
6
else
2 7
bins: $(DISKDIR)/bin/tpl2rem
3 8

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

  
17
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem-winflex.c
18
	$(CC) $(CFLAGS) -o $@ $<
19 19
endif

Also available in: Unified diff