source: golgotha/src/max_plugin/makefile.cc @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 2.0 KB
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#include "nrm_make.cc"
10
11#include <unistd.h>
12
13#define I4 "../i4"
14#define G1 "../golg"
15#define R1 "../render"
16
17main(int argc, char **argv)
18{
19  list src, inc, libs;
20
21  src
22    + I4 "/loaders/dir_load.cc"
23    + I4 "/loaders/dir_save.cc"
24    + I4 "/checksum/checksum.cc"
25
26    + I4 "/file/file.cc"
27    + I4 "/file/win32/win_file.cc"
28    + I4 "/file/async.cc"
29    + I4 "/init/init.cc"
30    + I4 "/memory/malloc.cc"
31    + I4 "/memory/bmanage.cc"
32    + I4 "/memory/growheap.cc"
33    + I4 "/file/win32/get_dir.cc"
34    + I4 "/file/buf_file.cc"
35    + I4 "/string/string.cc"
36    + I4 "/error/error.cc"
37    + I4 "/threads/win32/threads.cc"
38    + I4 "/time/win_time.cc"
39    + I4 "/time/profile.cc"
40    + "max_object.cc"
41    + "maxcomm.cc"
42    + "util.cc"
43    + "crkutil.cc";
44
45  inc
46    + I4 "/inc"
47    + I4
48    + G1
49    + R1
50    + "sdk_inc";
51
52  libs
53    + "$(MSDEV)/lib/kernel32.lib"
54    + "$(MSDEV)/lib/user32.lib"
55    + "$(MSDEV)/lib/gdi32.lib"
56    + "$(MSDEV)/lib/comdlg32.lib"
57    + "$(MSDEV)/lib/oldnames.lib"
58    + "$(MSDEV)/lib/comctl32.lib"
59    + "$(MSDEV)/lib/msvcrt.lib"
60    + "$(MSDEV)/lib/winmm.lib"
61    + "c:/maxsdk/lib/GEOM.LIB"
62    + "c:/maxsdk/lib/UTIL.LIB"
63    + "c:/maxsdk/lib/CORE.LIB";
64
65  target_list t;
66
67  t
68    + target_t(src, inc, libs, "p1", MK_DEBUG | MK_DLL, 16)
69    + target_t(src, inc, libs, "p1", MK_OPT   | MK_DLL, 16)
70    ;
71
72  t[0]->def_file=t[1]->def_file="plugin.def";
73  t[0]->res + "plugin.rc";
74  t[1]->res + "plugin.rc";
75
76  make_win95(t);
77}
78
Note: See TracBrowser for help on using the repository browser.