source: trunk/mediafolder/ProgFolder/makefile@ 201

Last change on this file since 201 was 148, checked in by gyoung, 21 months ago

Automate building of all def files. Some minor code and makefile cleanup

File size: 2.9 KB
Line 
1################################################
2#
3# Makefile for class CWProgFolder
4#
5# (C) Chris Wohlgenuth 1999-2001
6#
7# E-mail: christopher.wohlgemuth@bch.siemens.de
8#
9# http://www.geocities.com/SiliconValley/Sector/5785/
10#
11#
12# This class is intended for programmers and provides functions for some
13# common tasks like:
14# - Adding dialogs as frame controls to WPS folders
15# - Showing 'About'-dialogs
16# - Checking of object pointers
17# - ...
18#
19# The DLL also includes some other functions like:
20#
21# - Query CD drives
22# - Query audio CD tracks
23# - Query audio CD track size
24# - ...
25#
26# Use IBM VAC++ V3.00 and Gnu-make 3.74.1 to compile
27#
28#
29#
30#
31################################################
32
33#/*
34# * This program is free software; you can redistribute it and/or modify
35# * it under the terms of the GNU General Public License as published by
36# * the Free Software Foundation; either version 2, or (at your option)
37# * any later version.
38# *
39# * This program is distributed in the hope that it will be useful,
40# * but WITHOUT ANY WARRANTY; without even the implied warranty of
41# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42# * GNU General Public License for more details.
43# *
44# * You should have received a copy of the GNU General Public License
45# * along with this program; see the file COPYING. If not, write to
46# * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
47# */
48
49include ../../make.inc
50
51
52CC = icc
53LIB_DIR = $d:/emx/lib
54CPPFLAGS = /Ge- /Gm+ -G4 -Gl /O+ -Oc+ /C+ /Q+
55INC = ../include
56INC2 = ..\include
57DEFS =
58PROGS =
59ODIR = .
60CPPDIR = .
61OBJECTS = progfolder.obj pframeproc.obj storewindow.obj separatorwindow.obj
62DISTDIR = ../../dist
63DLLDIR = ../../dist/DLL
64
65all: progfldr.dll
66
67progfldr.dll: $(OBJECTS)
68 cmd /C $(TOOLDIR)/create_def.cmd progfolder.def
69 icc -Ge- /Fe$@ /Fm$*.map $(OBJECTS) progfolder.def
70 rc -i $(INC2) progfolder.rc $@
71 mapsym $*.map
72 implib /NOLOGO progfldr.lib progfolder.def
73 mv $@ ..
74 mv $*.map ..
75 mv $*.sym ..
76
77progfolder.obj: progfolder.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
78 icc $(CPPFLAGS) -I$(INC) $<
79
80pframeproc.obj: pframeproc.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
81 icc $(CPPFLAGS) -I$(INC) $<
82
83storewindow.obj: storewindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
84 icc $(CPPFLAGS) -I$(INC) $<
85
86separatorwindow.obj: separatorwindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
87 icc $(CPPFLAGS) -I$(INC) $<
88
89clean:
90 -rm *.obj
91 -rm *.dll
92 -rm *.lib
93 -rm *.def
94
95cleaner:
96 -rm *.*~
97 -rm *.flc
98
99#distribution:
100# -cp progfldr.dll $(DLLDIR)/progfldr.dll
101
Note: See TracBrowser for help on using the repository browser.