source: tags/arb_5.3/NAMES_COM/Makefile

Last change on this file was 5875, checked in by westram, 15 years ago
  • tweaked errors/warnings printed by AISC code generator
  • AISC expression 'IF $(KEY)'. When variable KEY is empty or undefined, AISC regards the expression always as TRUE.
    • On OSX this resulted in a bus error, cause the test for operator '!' accessed the byte b4 the empty expression. Fixed.
  • made many functions static / commented out unused code
  • deleted unused files
  • added dependencies (AISC/*pa) to com makefiles → recompile if any .pa changes
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 872 bytes
Line 
1# The file, where all structures are described
2MAIN_SOURCE = names.aisc
3
4# Your own server functions
5PRIVATE_SERVER_OBJECTS = names_extern.o
6
7# Public server/client sources (needed for dependencies)
8PUBLIC_SOURCES = $(wildcard C/*.c)
9
10# Do you want to create save and load
11AISC_SAVE = YES
12
13# C++ Compiler
14COMPILER = $(CPP) $(cflags) -I$(ARBHOME)/INCLUDE
15CLIENTCOMPILER = $(COMPILER)
16
17# AISC dependencies
18AISC_COMPILER=../MAKEBIN/aisc
19AISC_DEPENDS = $(wildcard AISC/*.pa) $(AISC_COMPILER)
20
21include AISC/export2sub
22
23server.a: $(MAIN_SOURCE) $(PRIVATE_SERVER_OBJECTS:.o=.c) $(PUBLIC_SOURCES) $(AISC_DEPENDS)
24        @$(MAKE) -r -f AISC/Makefile
25
26depends:
27        @$(MAKE) -r -f AISC/Makefile pregenerate
28
29clean:
30        @$(MAKE) -r -f AISC/Makefile clean
31
32# DO NOT DELETE
33
34# Do not add dependencies manually - use 'make depend' in $ARBHOME
35# For formatting issues see SOURCE_TOOLS/fix_depends.pl
Note: See TracBrowser for help on using the repository browser.