r2247: *** empty log message ***
[uffi.git] / examples / Makefile
index 353a9aad9ae7f253d0db05ca083d8cfd9d1d46cd..2c3ee7ee1e93225babcc62c64b9a4fe101419dd9 100644 (file)
@@ -5,7 +5,7 @@
 #  Programer:    Kevin M. Rosenberg
 #  Date Started: Mar 2002
 #
-#  CVS Id:   $Id: Makefile,v 1.12 2002/04/03 17:52:53 kevin Exp $
+#  CVS Id:   $Id: Makefile,v 1.14 2002/04/28 02:28:45 kevin Exp $
 #
 # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 #
 # as governed by the terms of the Lisp Lesser GNU Public License
 # (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 
+SUBDIRS:=
+
+include ../Makefile.common
+
+.PHONY: distclean
+distclean: clean
 
 # GCC Section
 CC=gcc
@@ -37,6 +43,7 @@ source=$(base).c
 object=$(base).o
 shared_lib=$(base).so
 
+.PHONY: all
 all: $(shared_lib)
 
 $(shared_lib): $(source) Makefile
@@ -44,8 +51,3 @@ $(shared_lib): $(source) Makefile
        gcc ${SHARED_LD_OPT} $(object) -o $(shared_lib)
        rm $(object)
 
-clean:
-       rm -f $(object) $(shared_lib)
-
-realclean: clean
-       rm -f *~