|
Last change
on this file since 464 was 433, checked in by Paul Smedley, 16 years ago |
|
Apply makefile fixes for 'wmake clean' from changeset 359-361 to 1.9.x code
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | CINCLUDES = ..\..\include;..\include;$(%WATCOM)\H
|
|---|
| 2 | AINCLUDES = $(DDK_BASE)\H
|
|---|
| 3 |
|
|---|
| 4 | CDEFINES = -D__KERNEL__ -DMODULE -dTARGET_OS2 -dALSA_BUILD -D__ISAPNP__ -DCONFIG_ISAPNP -D__i386_
|
|---|
| 5 |
|
|---|
| 6 | 32BIT=1
|
|---|
| 7 | !include ..\..\makefile.inc
|
|---|
| 8 |
|
|---|
| 9 | NMAKEOPTS=-f makefile.os2 $(LOGO) ACPI=$(ACPI) KEE=$(KEE) DEBUG=$(DEBUG)
|
|---|
| 10 |
|
|---|
| 11 | #===================================================================
|
|---|
| 12 | #
|
|---|
| 13 | # List of source files
|
|---|
| 14 | #
|
|---|
| 15 | #===================================================================
|
|---|
| 16 | FILE1 = util_mem.obj
|
|---|
| 17 | FILE2 =
|
|---|
| 18 | FILE3 =
|
|---|
| 19 | FILE4 =
|
|---|
| 20 | FILE5 =
|
|---|
| 21 | FILE6 =
|
|---|
| 22 | FILE7 =
|
|---|
| 23 | FILE8 =
|
|---|
| 24 | FILELAST =
|
|---|
| 25 | FILES = $(FILE0) $(FILE1) $(FILE2) $(FILE3) $(FILE4) $(FILE5) $(FILE6) $(FILE7) $(FILE8) $(FILE9) $(FILE10) $(FILE11) $(FILE12)
|
|---|
| 26 |
|
|---|
| 27 | TARGET = synth
|
|---|
| 28 |
|
|---|
| 29 | LNKFILE = $(OBJDIR)\$(TARGET).lnk
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | #===================================================================
|
|---|
| 33 | #
|
|---|
| 34 | # Specific dependencies
|
|---|
| 35 | #
|
|---|
| 36 | #===================================================================
|
|---|
| 37 | all: $(OBJDIR)\$(TARGET).lib subdirs
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 | $(LNKFILE): makefile.os2
|
|---|
| 41 | @%create $(LNKFILE)
|
|---|
| 42 | @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
|
|---|
| 43 |
|
|---|
| 44 | $(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
|
|---|
| 45 | $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
|
|---|
| 46 | copy $(OBJDIR)\$(TARGET).lib $(ALSA_LIB)
|
|---|
| 47 |
|
|---|
| 48 | subdirs: .SYMBOLIC
|
|---|
| 49 | @echo BUILDING emux
|
|---|
| 50 | @cd emux
|
|---|
| 51 | @wmake $(NMAKEOPTS)
|
|---|
| 52 | @cd ..
|
|---|
| 53 |
|
|---|
| 54 | clean: .SYMBOLIC
|
|---|
| 55 | @echo CLEANING emux
|
|---|
| 56 | @cd emux
|
|---|
| 57 | @wmake $(NMAKEOPTS) clean
|
|---|
| 58 | @cd ..
|
|---|
| 59 | -@rm *.err
|
|---|
| 60 | @cd $(OBJDIR)
|
|---|
| 61 | -rm *.obj *.lnk *.sys *.sym *.lst *.map *.wmap *.lib
|
|---|
| 62 | @cd ..\..
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.