source: tags/svn.1.5.4/NAMES_COM/Makefile

Last change on this file was 8324, checked in by westram, 14 years ago
  • clang-fix: explicitely pass language type to compiler when .c is compiled as c++
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1# The file, where all structures are described
2MAIN_SOURCE = names.aisc
3MAIN_HEADER = aisc_include.header
4
5# Your own server functions
6PRIVATE_SERVER_OBJECTS = names_extern.o
7
8# Public server/client sources (needed for dependencies)
9PUBLIC_SOURCES := $(wildcard C/*.c) $(wildcard C/*.h)
10
11# Do you want to create save and load
12AISC_SAVE := YES
13
14# C++ Compiler
15COMPILER := $(CPP) -x c++ $(cflags) -I$(ARBHOME)/INCLUDE
16CLIENTCOMPILER := $(COMPILER)
17
18# AISC dependencies
19AISC_COMPILER=../AISC/aisc
20AISC_PROTOTYPER=../AISC_MKPTPS/aisc_mkpt
21AISC_DEPENDS = $(wildcard AISC/*.pa) $(AISC_COMPILER) $(AISC_PROTOTYPER) 
22
23include AISC/export2sub
24
25$(MAIN): server.a
26
27server.a: $(MAIN_SOURCE) $(PRIVATE_SERVER_OBJECTS:.o=.c) $(PUBLIC_SOURCES) $(AISC_DEPENDS) $(MAIN_HEADER) 
28        @$(MAKE) -r -f AISC/Makefile
29
30depends:
31        @rm -f .depends
32        @$(MAKE) -r -f AISC/Makefile pregenerate
33
34clean:
35        @rm -f .depends
36        @$(MAKE) -r -f AISC/Makefile clean
37
38# DO NOT DELETE
39
40# Do not add dependencies manually - use 'make depend' in $ARBHOME
41# For formatting issues see SOURCE_TOOLS/fix_depends.pl
Note: See TracBrowser for help on using the repository browser.