Added "all:" and "clean::" deps, changed flag usage, cleanup.

This commit is contained in:
Matt Needes
1994-08-23 20:35:03 +00:00
parent 246da943ba
commit dd3de4d8f0
22 changed files with 106 additions and 50 deletions
+10 -1
View File
@@ -2,6 +2,8 @@ EPICS = ../../../..
include Target.include
include $(EPICS)/config/CONFIG
USR_LDLIBS = -lDb -lCom
SRCS = \
../dbStaticLib.c \
atdb_lex.c \
@@ -19,8 +21,15 @@ LIBNAME = libDb.a
TARGET = dbta atdb dbl dbls
all: install_libs install
atdb: atdb.o atdb_yacc.o
$(LINK.c) -o $@ $? $(LDLIBS)
$(LINK.c) -o $@ atdb.o atdb_yacc.o $(LDLIBS)
dbta: $(LIBNAME)
atdb: $(LIBNAME)
dbl: $(LIBNAME)
dbls: $(LIBNAME)
# Extra rule since atdb_lex.c is included in atdb_yacc.c
# In my opinion, these objects should really be built