Brent,
This patch allows the Makefile to work for me...if the
$(CC) -o $*$(O) -c $*.c
line is not below each .c file cygwin's make does not do the right thing and
does not make properly. This patch adds those lines. If you have a better
way to do it, I would be glad to implement that instead.
Index: Makefile.in
===================================================================
RCS file: /home/perlcvs/parrot/Makefile.in,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile.in
--- Makefile.in 2001/09/16 01:55:26 1.4
+++ Makefile.in 2001/09/16 16:15:38
@@ -11,7 +11,7 @@
CC = ${cc} $(C_FLAGS)
-all : $(O_FILES)
+all : test_prog
shared: libparrot.so
libparrot.so: $(O_FILES)
@@ -21,12 +21,16 @@
$(CC) $(C_LIBS) -o test_prog $(O_FILES) test_main$(O)
test_main$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
global_setup$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
string$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
strnative$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
interp_guts.h: opcode_table build_interp_starter.pl
${perl} build_interp_starter.pl
@@ -34,14 +38,19 @@
interpreter$(O): interpreter.c $(H_FILES) interp_guts.h
memory$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
bytecode$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
parrot$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
register$(O): $(H_FILES)
+ $(CC) -o $*$(O) -c $*.c
basic_opcodes$(O): $(H_FILES) basic_opcodes.c
+ $(CC) -o $*$(O) -c $*.c
basic_opcodes.c: basic_opcodes.ops process_opfunc.pl interp_guts.h
${perl} process_opfunc.pl basic_opcodes.ops