source: trunk/test/makefile@ 9

Last change on this file since 9 was 2, checked in by stevenhl, 8 years ago

Import sources from cwmm-full.zip dated 2005-03-21

File size: 1.7 KB
Line 
1# Makefile
2
3include ../make.inc
4
5DISTNAME = cwaudio-classes-$(VERSION)
6CC = icc
7
8LDFLAGS = /Gm+ -G4 /Ss -Gl /O+ -Oc+ -Ol- /Q+
9#-Wcnd /Weff /Wini /Wpar /Wpro /Wuse /Wrea
10#CFLAGS = /Wuse /Wrea -Ge- /Gm+ -G4 /Ss -Gl /O+ -Oc+ -Ol- /Q+ /C
11CFLAGS = -Ge- /Gm+ -G4 /Ss -Gl /O+ -Oc+ -Ol- /Q+ /C
12
13LIBS = somtk.lib mmPM2.lib rexx.lib
14DEFS =
15
16MOREINC = ./include -I./inc -I../common_functions/include
17CDIR = ./c
18IDLDIR = ./idl
19OBJDIR = ./obj
20# Object files of common functions are going here
21LIBDIR = ./lib
22#Where the resource dlls are going
23RESDLLDIR = ./RES/dll
24
25
26#######################################
27#
28# Define compile command
29#
30#######################################
31COMPILE = $(CC) -I $(MOREINC) $(CFLAGS) /Fo$@ $<
32
33
34
35#######################################
36#
37# Define objects to build
38#
39#######################################
40
41# These are the object files containing general functions
42LIBOBJS = $(LIBDIR)/menu_funcs.obj $(LIBDIR)/message.obj $(LIBDIR)/ea_funcs.obj $(LIBDIR)/som_wps_funcs.obj \
43 $(LIBDIR)/sys_funcs.obj
44
45#Audio objects
46OBJECTS = $(OBJDIR)/cwaudio.obj $(OBJDIR)/cwmp3.obj \
47 $(OBJDIR)/cwvoc.obj \
48 $(OBJDIR)/cwm3u.obj $(OBJDIR)/cwflac.obj
49
50
51#######################################
52#
53# Define targets to build
54#
55#######################################
56all: mmtest.exe
57
58
59RESDLL :
60#$(RESDLLDIR)/mmres_de.dll $(RESDLLDIR)/mmres_en.dll
61
62mmtest.exe: mmtest.c
63 $(CC) $(LDFLAGS) $< /L /Fm$(basename $@) /Fe$@ $(LIBS)
64
65# $(CC) $(LDFLAGS) /L /Fm$(basename $@) /Fe$@ $(ALL_OBJECTS) $(LIBS) ./c/cwmm.def
66
67
68
69
70###################################
71#
72# Rules for cleaning the tree
73#
74###################################
75
76clean:
77 -rm *.obj
78 -rm *.exe
79
80
81
82
83
Note: See TracBrowser for help on using the repository browser.