Revision 1086 trunk/src/df1b2-separable/GNUmakefile

GNUmakefile (revision 1086)
1
ifeq ($(OS),Windows_NT)
2
  ifeq ($(TERM),cygwin)
3
    TERMINAL=cygwin
4
  else
5
    TERMINAL=dos
6
    PATH:=$(PATH);..\..\utilities;..\..\utilities\mingw\bin
7
  endif
8
endif
9

  
1 10
ifeq ($(TERMINAL),dos)
2 11
bins: $(DISKDIR)\bin\tpl2rem.exe
3 12

  
4
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem-winflex.c
13
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem.c
5 14
	$(CC) $(CFLAGS) -o $@ $<
15

  
16
tpl2rem.c: lex.yy.c
17
	sed -f sedflex lex.yy.c > $@
18

  
19
lex.yy.c: tpl2rem.lex
20
	flex -w tpl2rem.lex 
21

  
6 22
else
7 23
bins: $(DISKDIR)/bin/tpl2rem
8 24

  

Also available in: Unified diff