Files
pcas/src/db/Makefile.Unix
Matt Needes 8334f1fdd4 New stuff.
1994-08-21 01:02:07 +00:00

34 lines
575 B
Makefile

EPICS = ../../../..
include Target.include
include $(EPICS)/config/CONFIG
SRCS = \
../dbStaticLib.c \
atdb_lex.c \
atdb_yacc.c \
../dbta.c \
../atdb.c \
../dbl.c \
../dbls.c
OBJS =
LIBOBJS = dbStaticLib.o
LIBNAME = libDb.a
TARGET = dbta atdb dbl dbls
atdb: atdb.o atdb_yacc.o
$(LINK.c) -o $@ $? $(LDLIBS)
# Extra rule since atdb_lex.c is included in atdb_yacc.c
# In my opinion, these objects should really be built
# independently.
atdb_yacc.o: atdb_lex.c
clean::
/bin/rm -f atdb_lex.c atdb_yacc.c dbta atdb dbl dbls
include $(EPICS)/config/RULES.Unix