Aded clean rule and changed .DEPENDS to DEPENDS.

This commit is contained in:
Janet B. Anderson
2000-06-08 21:21:16 +00:00
parent d4d6febe69
commit bbb3f2cf9a
2 changed files with 5 additions and 2 deletions

View File

@@ -3,3 +3,6 @@ registerRecordDeviceDriver.o: registerRecordDeviceDriver.c
registerRecordDeviceDriver.c: $(INSTALL_DBD)/$(DBDNAME)
$(RM) registerRecordDeviceDriver.c
$(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl $(INSTALL_DBD)/$(DBDNAME) > registerRecordDeviceDriver.c
clean::
@$(RM) registerRecordDeviceDriver.c

View File

@@ -3,9 +3,9 @@ eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
# Called from within the object directory.
# Searches the .substitutions files (from the command line) for
# "file xxx {" entries to create a .DEPENDS file
# "file xxx {" entries to create a DEPENDS file
open(OUT, ">.DEPENDS") or die "Cannot open .DEPENDS: $!";
open(OUT, ">DEPENDS") or die "Cannot open DEPENDS: $!";
foreach $file (@ARGV) {
open(IN, "<$file") or die "Cannot open $file: $!";