Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70c4e50
)
Makefile.win fixes
author
Joshua Grams
<josh@qualdan.com>
Wed, 12 Apr 2006 16:57:21 +0000
(16:57 +0000)
committer
Joshua Grams
<josh@qualdan.com>
Wed, 12 Apr 2006 16:57:21 +0000
(16:57 +0000)
Makefile.win
patch
|
blob
|
history
diff --git
a/Makefile.win
b/Makefile.win
index
92af68b
..
90ceab3
100644
(file)
--- a/
Makefile.win
+++ b/
Makefile.win
@@
-15,8
+15,9
@@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+CC := gcc
LDFLAGS := -mwindows -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer
LDFLAGS := -mwindows -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer
-CFLAGS := -Wall -O3
+CFLAGS := -Wall -O3 -ISDL
my_objects := args.o dust.o file.o mt.o rocks.o score.o sprite.o sound.o
my_objects += main.o
my_objects := args.o dust.o file.o mt.o rocks.o score.o sprite.o sound.o
my_objects += main.o
@@
-62,7
+63,8
@@
sound.o: sound.h args.h common.h
sprite.o: sprite.h common.h
vor: $(objects)
sprite.o: sprite.h common.h
vor: $(objects)
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $^ $(LDFLAGS) -o $@
clean:
clean:
- del vor *.o
+ del vor
+ del *.o