home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-11-01 | 724 b | 34 lines |
- #
- #
- # Generic Makefile for splash and tests
- #
- #
-
- CC = cc
- CFLAGS = -g
- LFLAGS =
-
- # uncomment the next file if your USL cfront breaks enums
- #DEFS = -DUSLCOMPILER
-
- spltest: spltest.o tsplash.o regex.o
- $(CC) $(CFLAGS) $(LFLAGS) -DTEST -o spltest spltest.c++ tsplash.o regex.o
-
- tsplash.o: splash.c++
- $(CC) $(CFLAGS) $(DEFS) -DTEST -c splash.c++
- mv splash.o tsplash.o
-
- tsplash.o splash.o: splash.h regexp.h
- regex.o: regex.h
-
- assoc: assoc.c++ splash.o regex.o
- $(CC) $(CFLAGS) $(LFLAGS) $(DEFS) -DTESTASSOC assoc.c++ splash.o regex.o -o assoc
-
- test:
- spltest > x
- diff x splash.v
-
- chgfnt: chgfnt.o splash.o regex.o
- $(CC) $(CFLAGS) $(DEFS) -DTESTCHGFNT chgfnt.c++ splash.o regex.o -o chgfnt
-