summaryrefslogtreecommitdiff
path: root/zwgc/Dictionary
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-12-14 10:56:01 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-12-14 10:56:01 +0000
commitcfd65f639f90bcbba75b9f76367e797fbac9dd7f (patch)
tree8c524f1310e6b6c97023689ea5aad85d921dc03f /zwgc/Dictionary
parent148175d8cb52638625218f2f53165fd55b982d7f (diff)
Generalized the generate_dictionary_instance and generate_stack_instance
scripts into one script (re-written in Bourne shell for greater portability)
Diffstat (limited to 'zwgc/Dictionary')
-rw-r--r--zwgc/Dictionary/Imakefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/zwgc/Dictionary/Imakefile b/zwgc/Dictionary/Imakefile
index c8b77b7..2bae6c7 100644
--- a/zwgc/Dictionary/Imakefile
+++ b/zwgc/Dictionary/Imakefile
@@ -10,10 +10,8 @@ SRCS = string_dictionary_aux.c int_dictionary.c string_dictionary.c
XDEFS = -I../String -I../Memory
-GENERATORS= generate_dictionary_instance
-
all:: string_dictionary.h dictionary_spec $(OBJS)
-depend:: $(GENERATORS) $(SRCS)
+depend:: $(SRCS)
/**/# Automatically generate a spec file from the template include file:
dictionary_spec: dictionary.h
@@ -21,11 +19,11 @@ dictionary_spec: dictionary.h
/**/# Generate a int dictionary instance:
int_dictionary.c int_dictionary.h: dictionary.c dictionary.h
- ./generate_dictionary_instance . int
+ ../generate_instance . dictionary int
/**/# Generate a string dictionary instance:
string_dictionary.c string_dictionary.h: dictionary.c dictionary.h
- ./generate_dictionary_instance . string new_string.h
+ ../generate_instance . dictionary string new_string.h
clean::
$(RM) $(OBJS) dictionary_spec int_dictionary.c string_dictionary.c \