changeset 27:0eba27fee6da

Const fix.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 May 2010 00:14:18 +0300
parents 725542723cef
children e45ae779d439
files pwpzax/Makefile pwpzax/zaxplay.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pwpzax/Makefile	Sun May 23 23:17:31 2010 +0300
+++ b/pwpzax/Makefile	Mon May 24 00:14:18 2010 +0300
@@ -1,11 +1,11 @@
 include ../config.mak
 
-TARGETS=zaxplay
+TARGETS=zaxplay$(BINEXT)
 
 all: $(TARGETS)
 
 include ../Makefile.inc
 
-zaxplay: zaxplay.c
+zaxplay$(BINEXT): zaxplay.c
 	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
 
--- a/pwpzax/zaxplay.c	Sun May 23 23:17:31 2010 +0300
+++ b/pwpzax/zaxplay.c	Mon May 24 00:14:18 2010 +0300
@@ -32,7 +32,7 @@
     &Final_Isi, &Future_Moottori, &Go_Mazzembly, &Ikuisuus
 };
 static const int ntunes = sizeof(tunes) / sizeof(tunes[0]);
-pwpmusic *tune;
+const pwpmusic *tune;
 
 
 struct {