JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
oops, didn't mean to commit those other files
authorJason Woofenden <jason@jasonwoof.com>
Sat, 15 Apr 2006 16:26:44 +0000 (16:26 +0000)
committerJason Woofenden <jason@jasonwoof.com>
Sat, 15 Apr 2006 16:26:44 +0000 (16:26 +0000)
Makefile
main.c

index dacecb6..90e50a6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
 DATA_PREFIX := /usr/share/vor
 PROGRAM_PREFIX := /usr/games/bin
 
-CFLAGS := -ggdb
+CFLAGS := -Wall -O3
 LDFLAGS := 
 
 paths := -DDATA_PREFIX=\"$(DATA_PREFIX)\"
@@ -58,8 +58,8 @@ data: $(graphics)
 program: vor
 
 %.o: %.c
-       #@echo compiling $@ from $<
-       $(CC) $(cflags) -c -o $@ $<
+       @echo compiling $@ from $<
+       @$(CC) $(cflags) -c -o $@ $<
 
 $(my_objects): config.h
 
diff --git a/main.c b/main.c
index 8a4f085..ea1f536 100644 (file)
--- a/main.c
+++ b/main.c
@@ -144,7 +144,7 @@ new_bang_dots(int xbang, int ybang, int dx, int dy, SDL_Surface *s)
        int row_inc;
        double theta, r;
 
-       n = 12.0 * t_frame;
+       n = 24.0 * t_frame;
        pixel = s->pixels;
        row_inc = s->pitch/sizeof(uint16_t) - s->w;
        colorkey = s->format->colorkey;