Revision 1085 trunk/src/nh99/GNUmakefile

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

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

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

  
20
$(DISKDIR)\bin\tpl2cpp.exe: tpl2cpp-winflex.c
21
	$(CC) $(CFLAGS) -Wno-format -o $@ $<
22 22
endif

Also available in: Unified diff