ArchWizard

DGD/

source navigation ]
diff markup ]
identifier search ]
file search ]
Version: [ 1.0.a0 ] [ 1.1 ] [ 1.2 ] [ 1.2p1 ] [ 1.2p2 ] [ 1.2p3 ] [ 1.2p4 ] [ 1.2.151 ]

  1 #
  2 # Makefile for lexical scanner, part of DGD.
  3 #
  4 HOST=   NETBSD
  5 DEFINES=-D$(HOST)
  6 DEBUG=  -O2
  7 CCFLAGS=$(DEFINES) $(DEBUG)
  8 CFLAGS= -I. -I.. -I../comp $(CCFLAGS)
  9 LDFLAGS=
 10 LIBS=
 11 LINTFLAGS=-abcehpruz
 12 CC=     gcc
 13 LD=     $(CC)
 14 
 15 SRC=    macro.c ppstr.c token.c special.c ppcontrol.c
 16 OBJ=    macro.o ppstr.o token.o special.o ppcontrol.o
 17 
 18 dgd:    $(OBJ)
 19         @for i in $(OBJ); do echo lex/$$i; done > dgd
 20 
 21 comp:   $(OBJ)
 22         @for i in $(OBJ); do echo ../lex/$$i; done > comp
 23 
 24 lint:
 25         lint $(LINTFLAGS) $(CFLAGS) $(SRC)
 26 
 27 clean:
 28         rm -f dgd comp $(OBJ)
 29 
 30 
 31 $(OBJ): lex.h ../config.h ../host.h ../alloc.h ../str.h ../xfloat.h
 32 macro.o special.o token.o ppcontrol.o: ../hash.h
 33 token.o ppcontrol.o: ../path.h
 34 
 35 $(OBJ): ../comp/node.h ../comp/compile.h ../comp/parser.h
 36 
 37 $(OBJ): lex.h
 38 macro.o special.o token.o ppcontrol.o: macro.h
 39 ppstr.o token.o ppcontrol.o: ppstr.h
 40 special.o token.o ppcontrol.o: special.h
 41 token.o ppcontrol.o: token.h
 42 ppcontrol.o: ppcontrol.h

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.