33 lines
621 B
Makefile
33 lines
621 B
Makefile
TOP = ../../..
|
|
include $(TOP)/config/CONFIG_BASE
|
|
|
|
USR_CFLAGS += -D_NO_PROTO
|
|
|
|
INC := asDbLib.h asLib.h
|
|
|
|
# build lib As from asLib.c:
|
|
#
|
|
LIBSRCS := asLib.c
|
|
LIBRARY := As
|
|
|
|
|
|
# All systems link the libs As, Com, Db (and again Com ??),
|
|
# generic Unix needs also lib m:
|
|
#
|
|
SYS_PROD_LIBS_DEFAULT := m
|
|
SYS_PROD_LIBS_WIN32 := -nil-
|
|
PROD_LIBS := As Com Db Com
|
|
|
|
PROD := ascheck
|
|
|
|
include $(TOP)/config/RULES.Host
|
|
|
|
# Extra rule since asLib_lex.c is included in asLib.c
|
|
# In my opinion, these objects should really be built
|
|
# independently.
|
|
asLib$(OBJ): asLib_lex.c ../asLibRoutines.c
|
|
|
|
clean::
|
|
@$(RM) asLib.c asLib_lex.c
|
|
|