forked from CorsixTH/CorsixTH
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Linux Makefile for AnimView tool (from / fixes issue CorsixTH#8).
Fixed usage of MSVC-specific integer types in AnimView's th.h
- Loading branch information
Peter Cawley
committed
Sep 12, 2009
1 parent
af1412e
commit 398431c
Showing
3 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Makefile for building AnimViewer | ||
# This is quite a simple makefile and could probably do with some love from | ||
# someone who understands the *nix buildchain better than I do. | ||
|
||
CC= gcc | ||
CPP= g++ | ||
RM= rm -f | ||
CFLAGS= `wx-config --cflags` | ||
LIBS= `wx-config --libs` | ||
|
||
ALL_T= AnimViewer | ||
ALL_O= app.o frmMain.o frmSprites.o rnc.o th.o | ||
|
||
default: all | ||
|
||
all: $(ALL_T) | ||
|
||
clean: | ||
$(RM) $(ALL_O) $(ALL_T) | ||
|
||
AnimViewer: $(ALL_O) | ||
$(CPP) -o $@ $(ALL_O) $(LIBS) | ||
|
||
app.o: | ||
$(CPP) -c app.cpp $(CFLAGS) | ||
|
||
frmMain.o: | ||
$(CPP) -c frmMain.cpp $(CFLAGS) | ||
|
||
frmSprites.o: | ||
$(CPP) -c frmSprites.cpp $(CFLAGS) | ||
|
||
rnc.o: | ||
$(CPP) -c rnc.cpp $(CFLAGS) | ||
|
||
th.o: | ||
$(CPP) -c th.cpp $(CFLAGS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters