[PD-cvs] externals/hcs/hid Makefile,1.13,1.14

Hans-Christoph Steiner eighthave at users.sourceforge.net
Fri May 26 16:31:30 CEST 2006


Update of /cvsroot/pure-data/externals/hcs/hid
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21687

Modified Files:
	Makefile 
Log Message:
thought I'd check in a working(?) version of this makefile before I wipe it and use externals/Makefile

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Makefile	6 Apr 2006 15:55:39 -0000	1.13
--- Makefile	26 May 2006 14:31:28 -0000	1.14
***************
*** 1,15 ****
! TARGET=hid
  
  default: 
! 	make -C ../../ $(TARGET)
  
  install:
! 	make -C ../../ $(TARGET)_install
  
  clean:
! 	make -C ../../ $(TARGET)_clean
! 
! 
  
  # this stuff below probably works, but its not maintained anymore since I use
  # externals/Makefile
--- 1,19 ----
! TARGET := `pwd|sed 's|.*/\(.*\)$|\1|'`
! EXTERNALS_ROOT := `pwd | sed 's|^\(/.*externals\).*|\1|'`
  
  default: 
! 	make -C $(EXTERNALS_ROOT) $(TARGET)
  
  install:
! 	make -C $(EXTERNALS_ROOT) $(TARGET)_install
  
  clean:
! 	make -C $(EXTERNALS_ROOT) $(TARGET)_clean
  
+ #==============================================================================
+ #==============================================================================
+ #==============================================================================
+ #==============================================================================
+ #==============================================================================
  # this stuff below probably works, but its not maintained anymore since I use
  # externals/Makefile
***************
*** 51,55 ****
  
  # ----------------------- Windows MinGW -----------------------
! ifeq ($(OS_NAME),win)
    EXTENSION = dll
    CFLAGS += -mms-bitfields
--- 55,59 ----
  
  # ----------------------- Windows MinGW -----------------------
! ifeq ($(OS_NAME),windows)
    EXTENSION = dll
    CFLAGS += -mms-bitfields
***************
*** 71,74 ****
--- 75,79 ----
    STRIP = strip -x
    hid.$(EXTENSION): input_arrays hid_utilites $(OBJ)
+ .SUFFIXES: .pd_darwin
  endif
  
***************
*** 78,82 ****
  
  # ----------------------- GENERAL ---------------------------------------------
- 
  # generic optimization
  OPT_FLAGS = -O3 -ffast-math
--- 83,86 ----





More information about the Pd-cvs mailing list