This commit is contained in:
Armando Rivera 2013-11-14 22:15:28 -05:00
commit 3728044b86
5 changed files with 15 additions and 3 deletions

View File

@ -17,3 +17,5 @@
### For the list of current Keywords, see the Keywords.txt file
### For the Function/Sub prototypes, see the Prototypes.txt file
### To use, copy "jade.h", "header.inc" and "runtime.inc" to you project folder and #include "jade.h"

View File

@ -4,7 +4,7 @@ CC = g++
LDFLAGS = $(shell sdl2-config --libs --cflags) -ldl
pong:
$(CC) -Wno-unused $@.cpp $(LDFLAGS) -o $@
$(CC) -Wall $@.cpp $(LDFLAGS) -o $@
clean:
@rm -f pong

11
sdl_test/Makefile Normal file
View File

@ -0,0 +1,11 @@
all:test
CC = g++
LDFLAGS = $(shell sdl-config --libs --cflags) -ldl
test:
$(CC) -Wall $@.cpp $(LDFLAGS) -o $@
clean:
@rm -f pong

View File

@ -5,7 +5,7 @@ LDFLAGS = $(shell wx-config --libs --cflags) -ldl
PLATFORM := $(shell uname -s)
help:
$(CC) $@.cpp $(LDFLAGS) -o $@
$(CC) -Wall $@.cpp $(LDFLAGS) -o $@
clean:
@$(RM) -f help

View File

@ -35,7 +35,6 @@ IMPLEMENT_APP(MyApp)
/* Initialize Application */
FUNCTION BOOL MyApp::OnInit() DO
INT i;
/* Used as Exit status flag */
m_exitIfNoMainWindow = FALSE;