about summary refs log tree commit diff stats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 39533c2..ed58c1f 100644
--- a/config.mk
+++ b/config.mk
@@ -14,9 +14,12 @@ VERSION = 0.0
 LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
 
 # Linux/BSD
-CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
+CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
 	-DVERSION=\"${VERSION}\"
-LDFLAGS = -g ${LIBS}
+LDFLAGS = ${LIBS}
+#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
+#	-DVERSION=\"${VERSION}\"
+#LDFLAGS = -g ${LIBS}
 
 
 # Solaris
fc2046a1 ^
192d59d3 ^
fc2046a1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                                      
          
                                    
                                            
                                          
                              


     
         
                                
                                       
 
# example program: creating and using global variables

def main [
  # allocate 5 locations for globals
  global-space:space <- new location:type, 5
  # read to globals by using /space:global
  1:num/space:global <- copy 3
  foo
]

def foo [
  # ditto for writing to globals
  $print 1:num/space:global, 10/newline
]