Revision 1393 trunk/src/df1b2-separable/GNUmakefile

GNUmakefile (revision 1393)
1
ifeq ($(OS),Windows_NT)
2
  ifdef TERM
3
    ifeq ("$(TERM)","xterm")
4
      TERMINAL=cygwin
5
    endif
6
    ifeq ("$(TERM)","cygwin")
7
      TERMINAL=cygwin
8
    endif
9
  else
10
    TERMINAL=dos
11
    PATH:=$(PATH);..\..\utilities;..\..\utilities\mingw\bin
12
  endif
13
endif
1
ifeq ($(SHELL),sh.exe)
2
bins: $(DIST)\bin\tpl2rem.exe
14 3

  
15
ifeq ($(TERMINAL),dos)
16
bins: $(DISKDIR)\bin\tpl2rem.exe
17

  
18
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem.c
4
$(DIST)\bin\tpl2rem.exe: tpl2rem.c
19 5
	$(CC) $(CFLAGS) -o $@ $<
20 6

  
21 7
tpl2rem.c: lex.yy.c
......
25 11
	flex -w tpl2rem.lex
26 12

  
27 13
else
28
bins: $(DISKDIR)/bin/tpl2rem
14
bins: $(DIST)/bin/tpl2rem
29 15

  
30
$(DISKDIR)/bin/tpl2rem: tpl2rem.c
16
$(DIST)/bin/tpl2rem: tpl2rem.c
31 17
	$(CC) $(CFLAGS) -o $@ $<
32 18

  
33 19
tpl2rem.c: lex.yy.c

Also available in: Unified diff