32 lines
634 B
Makefile
32 lines
634 B
Makefile
EPICS = ../../../..
|
|
include Target.include
|
|
include $(EPICS)/config/CONFIG_BASE
|
|
|
|
USR_CFLAGS = -D_NO_PROTO
|
|
USR_LDLIBS = -lAs -lCom -lDb -lCom -s
|
|
|
|
DEPLIBS_BASE = $(EPICS_BASE_LIB)/$(T_A)
|
|
DEPLIBS = ./libAs.a\
|
|
$(DEPLIBS_BASE)/libCom.a\
|
|
$(DEPLIBS_BASE)/libDb.a
|
|
|
|
LEX = $(ELEX)
|
|
YACC = $(EYACC)
|
|
|
|
SRCS = ../ascheck.c asLib.c
|
|
OBJS = ascheck.o
|
|
LIBOBJS = asLib.o
|
|
LIBNAME = libAs.a
|
|
PROD = ascheck
|
|
|
|
include $(EPICS)/config/RULES.Unix
|
|
|
|
# Extra rule since asLib_lex.c is included in asLib.c
|
|
# In my opinion, these objects should really be built
|
|
# independently.
|
|
asLib.o: asLib_lex.c ../asLibRoutines.c
|
|
|
|
clean::
|
|
@$(RM) asLib.c asLib_lex.c
|
|
|