forked from KolibriOS/kolibrios
Add example to SDL
git-svn-id: svn://kolibrios.org@8214 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6d6e328b43
commit
cb127af786
@ -7,12 +7,12 @@ CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32
|
||||
|
||||
INCLUDES = -I ../include -I $(SDK_DIR)/sources/newlib/libc/include
|
||||
|
||||
FITZ_SRC := $(notdir $(wildcard *.c))
|
||||
OBJECTS = $(patsubst %.c, %.o, $(FITZ_SRC))
|
||||
SYSCALL_SRC := $(notdir $(wildcard *.c))
|
||||
OBJECTS = $(patsubst %.c, %.o, $(SYSCALL_SRC))
|
||||
|
||||
default: $(patsubst %.c,%.o,$(FITZ_SRC))
|
||||
default: $(patsubst %.c,%.o,$(SYSCALL_SRC))
|
||||
|
||||
%.o : %.c Makefile $(FITZ_SRC)
|
||||
%.o : %.c Makefile $(SYSCALL_SRC)
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $<
|
||||
|
||||
clean:
|
||||
|
@ -26,4 +26,4 @@
|
||||
/* Stub until we implement threads on this platform */
|
||||
typedef int SYS_ThreadHandle;
|
||||
|
||||
#define DISABLE_THREADS
|
||||
//#define DISABLE_THREADS
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <math.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "SDL_error.h"
|
||||
#include "SDL_sysvideo.h"
|
||||
|
Loading…
Reference in New Issue
Block a user