|
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 |
|---|
| 2 | MAIN_SOURCE = names.aisc |
|---|
| 3 | MAIN_HEADER = aisc_include.header |
|---|
| 4 | |
|---|
| 5 | # Your own server functions |
|---|
| 6 | PRIVATE_SERVER_OBJECTS = names_extern.o |
|---|
| 7 | |
|---|
| 8 | # Public server/client sources (needed for dependencies) |
|---|
| 9 | PUBLIC_SOURCES := $(wildcard C/*.c) $(wildcard C/*.h) |
|---|
| 10 | |
|---|
| 11 | # Do you want to create save and load |
|---|
| 12 | AISC_SAVE := YES |
|---|
| 13 | |
|---|
| 14 | # C++ Compiler |
|---|
| 15 | COMPILER := $(CPP) -x c++ $(cflags) -I$(ARBHOME)/INCLUDE |
|---|
| 16 | CLIENTCOMPILER := $(COMPILER) |
|---|
| 17 | |
|---|
| 18 | # AISC dependencies |
|---|
| 19 | AISC_COMPILER=../AISC/aisc |
|---|
| 20 | AISC_PROTOTYPER=../AISC_MKPTPS/aisc_mkpt |
|---|
| 21 | AISC_DEPENDS = $(wildcard AISC/*.pa) $(AISC_COMPILER) $(AISC_PROTOTYPER) |
|---|
| 22 | |
|---|
| 23 | include AISC/export2sub |
|---|
| 24 | |
|---|
| 25 | $(MAIN): server.a |
|---|
| 26 | |
|---|
| 27 | server.a: $(MAIN_SOURCE) $(PRIVATE_SERVER_OBJECTS:.o=.c) $(PUBLIC_SOURCES) $(AISC_DEPENDS) $(MAIN_HEADER) |
|---|
| 28 | @$(MAKE) -r -f AISC/Makefile |
|---|
| 29 | |
|---|
| 30 | depends: |
|---|
| 31 | @rm -f .depends |
|---|
| 32 | @$(MAKE) -r -f AISC/Makefile pregenerate |
|---|
| 33 | |
|---|
| 34 | clean: |
|---|
| 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.