OSSP CVS Repository

ossp - Difference in ossp-pkg/str/Makefile.in versions 1.38 and 1.39
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/str/Makefile.in 1.38 -> 1.39

--- Makefile.in  2001/12/27 12:16:44     1.38
+++ Makefile.in  2001/12/27 12:24:20     1.39
@@ -113,12 +113,12 @@
         NAME="Str"; ONELINE="String Library"; \
         $(_MANPAGE)
 
-str_pcre.lo: str_pcre.c
-str_pcre.c: str_pcre_tab.c
-str_pcre_tab.c: str_pcre_gen
-        ./str_pcre_gen >str_pcre_tab.c
-str_pcre_gen:
-        $(CC) $(CFLAGS) -DSTR_PCRE_GENTAB $(LDFLAGS) -o str_pcre_gen str_pcre.c $(LIBS)
+
+str_pcre.lo: str_pcre.tab str_pcre.c
+str_pcre.tab: str_pcre.c
+        $(CC) $(CFLAGS) -DSTR_PCRE_TAB $(LDFLAGS) -o str_pcre.gen str_pcre.c $(LIBS)
+        ./str_pcre.gen >str_pcre.tab
+        -rm -f str_pcre.gen
 
 check: test
 test: str_test
@@ -139,14 +139,13 @@
 clean:
         $(RM) *.lo *.o
         $(RM) str_test.o str_test
-        $(RM) str_pcre_gen str_pcre_tab.c
         $(RM) libstr.la
         $(RM) -r .libs
         
 distclean: clean
         $(RM) str-config
         $(RM) str_config.h
-        $(RM) str_pcre_mk str_pcre_tab.c
+        $(RM) str_pcre.tab
         $(RM) config.log config.cache config.status
         $(RM) libtool
         $(RM) Makefile

CVSTrac 2.0.1