Skip to content

Commit

Permalink
[wxhaskell-from-cvs @ 2003-07-21 08:48:14 by dleijen]
Browse files Browse the repository at this point in the history
fixed c compilation bug in the makefile

darcs-hash:20030721084814-deb31-1776e0221bc5f2cab980b01b98791fb826a5facb.gz
  • Loading branch information
dleijen committed Jul 21, 2003
1 parent 2f4d04f commit c8ee133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Expand Up @@ -4,7 +4,7 @@
# See "license.txt" for more details.
#-----------------------------------------------------------------------

# $Id: makefile,v 1.13 2003/07/21 00:11:31 dleijen Exp $
# $Id: makefile,v 1.14 2003/07/21 08:48:14 dleijen Exp $

#--------------------------------------------------------------------------
# make [all] - build the libraries (in "lib").
Expand Down Expand Up @@ -233,7 +233,7 @@ make-c-obj =$(call run-with-echo,$(CXX) -c $(2) -o $(1) $(3))

# compile-c(<output .o>,<input .c>,<compile flags>)
compile-c =$(call make-c-obj,$(1),$(2),-MD $(3)) && \
$(silent-move-file,$(notdir $(basename $(1))).d,$(dir $(1)))
$(call silent-move-file,$(notdir $(basename $(1))).d,$(dir $(1)))

# silent-move-stubs(<output .o>,<input .c>)
silent-move-stubs =$(call silent-move-file,$(basename $(2))_stub.h,$(dir $(1))) && \
Expand Down

0 comments on commit c8ee133

Please sign in to comment.