Ignore:
Timestamp:
Jun 9, 2016, 10:38:13 PM (9 years ago)
Author:
David Azarewicz
Message:

Rearrange directory structure
rework makefiles
cleanup files

Location:
GPL/trunk/alsa-kernel/pci/ac97
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/ac97/Makefile

    r398 r587  
     1!ifndef %ROOT
     2!error ROOT is not defined. Please check your SETENV.CMD.
     3!endif
     4ROOT=$(%ROOT)
     5
     6!include $(ROOT)\tools\header.mif
     7
     8
     9#===================================================================
    110#
    2 # Makefile for ALSA
    3 # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
     11#   List of source files
    412#
     13#===================================================================
     14FILES = ac97_codec.obj ac97_pcm.obj ac97_proc.obj
    515
    6 snd-ac97-codec-y := ac97_codec.o ac97_pcm.o
    7 snd-ac97-codec-$(CONFIG_PROC_FS) += ac97_proc.o
     16TARGET = ac97
    817
    9 # Toplevel Module Dependency
    10 obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o
     18LNKFILE = $(OBJDIR)\$(TARGET).lnk
     19
     20
     21#===================================================================
     22#
     23#   Specific dependencies
     24#
     25#===================================================================
     26all: $(OBJDIR)\$(TARGET).lib
     27
     28
     29$(LNKFILE): Makefile
     30    @%create $(LNKFILE)
     31    @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
     32
     33$(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
     34    $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
     35    copy $(OBJDIR)\$(TARGET).lib $(ALSA_LIB)
     36
     37clean: .SYMBOLIC
     38    -@rm *.err
     39    @if exist obj @rm.exe -r obj
     40    @if exist bin @rm.exe -r bin
     41
Note: See TracChangeset for help on using the changeset viewer.