Changed to use -h flag to cgg and better way of preserving old tables.h
if not changed. Nice huh, Andy?
This commit is contained in:
parent
ab0db1c5fb
commit
79ea4bdea3
|
@ -63,10 +63,8 @@ cmp: all
|
|||
|
||||
|
||||
tables.c: table
|
||||
-mv tables.h tables.h.save
|
||||
../../../lib/cpp -P table | ../../../lib/cgg > debug.out
|
||||
-if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
-if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
../../../lib/cpp -P table | ../../../lib/cgg -htables.H > debug.out
|
||||
-cmp -s tables.h tables.H || mv tables.H tables.h
|
||||
|
||||
lint: $(CFILES)
|
||||
lint $(LINTOPTS) $(PREFLAGS) $(CFILES)
|
||||
|
|
|
@ -63,10 +63,8 @@ cmp: all
|
|||
|
||||
|
||||
tables.c: table
|
||||
-mv tables.h tables.h.save
|
||||
../../../lib/cpp -P table | ../../../lib/cgg > debug.out
|
||||
-if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
-if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
../../../lib/cpp -P table | ../../../lib/cgg -htables.H > debug.out
|
||||
-cmp -s tables.h tables.H || mv tables.H tables.h
|
||||
|
||||
lint: $(CFILES)
|
||||
lint $(LINTOPTS) $(PREFLAGS) $(CFILES)
|
||||
|
|
|
@ -63,10 +63,8 @@ cmp: all
|
|||
|
||||
|
||||
tables.c: table
|
||||
-mv tables.h tables.h.save
|
||||
../../../lib/cpp -P table | ../../../lib/cgg > debug.out
|
||||
-if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
-if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
../../../lib/cpp -P table | ../../../lib/cgg -htables.H > debug.out
|
||||
-cmp -s tables.h tables.H || mv tables.H tables.h
|
||||
|
||||
lint: $(CFILES)
|
||||
lint $(LINTOPTS) $(PREFLAGS) $(CFILES)
|
||||
|
|
|
@ -63,10 +63,8 @@ cmp: all
|
|||
|
||||
|
||||
tables.c: table
|
||||
-mv tables.h tables.h.save
|
||||
../../../lib/cpp -P table | ../../../lib/cgg > debug.out
|
||||
-if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
-if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
../../../lib/cpp -P table | ../../../lib/cgg -htables.H > debug.out
|
||||
-cmp -s tables.h tables.H || mv tables.H tables.h
|
||||
|
||||
lint: $(CFILES)
|
||||
lint $(LINTOPTS) $(PREFLAGS) $(CFILES)
|
||||
|
|
|
@ -63,10 +63,8 @@ cmp: all
|
|||
|
||||
|
||||
tables.c: table
|
||||
-mv tables.h tables.h.save
|
||||
../../../lib/cpp -P table | ../../../lib/cgg > debug.out
|
||||
-if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
-if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
../../../lib/cpp -P table | ../../../lib/cgg -htables.H > debug.out
|
||||
-cmp -s tables.h tables.H || mv tables.H tables.h
|
||||
|
||||
lint: $(CFILES)
|
||||
lint $(LINTOPTS) $(PREFLAGS) $(CFILES)
|
||||
|
|
|
@ -63,10 +63,8 @@ cmp: all
|
|||
|
||||
|
||||
tables.c: table
|
||||
-mv tables.h tables.h.save
|
||||
../../../lib/cpp -P table | ../../../lib/cgg > debug.out
|
||||
-if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
-if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi
|
||||
../../../lib/cpp -P table | ../../../lib/cgg -htables.H > debug.out
|
||||
-cmp -s tables.h tables.H || mv tables.H tables.h
|
||||
|
||||
lint: $(CFILES)
|
||||
lint $(LINTOPTS) $(PREFLAGS) $(CFILES)
|
||||
|
|
Loading…
Reference in a new issue