nothing
there is nothing
This commit is contained in:
commit
10f98381cc
3 changed files with 41 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
# TODO: figure out mingw-w64 cross-compilation
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
CFLAGS := $(CFLAGS) `pkg-config --cflags --libs sdl3`
|
||||
LDFLAGS := $(LDFLAGS)
|
||||
|
||||
all: slutpet
|
||||
|
||||
slutpet: slutpet.c
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-rm -f slutpet
|
1
readme
Normal file
1
readme
Normal file
|
@ -0,0 +1 @@
|
|||
horny desktop pet thing.
|
27
slutpet.c
Normal file
27
slutpet.c
Normal file
|
@ -0,0 +1,27 @@
|
|||
#include <SDL3/SDL.h>
|
||||
#define SDL_MAIN_USE_CALLBACKS
|
||||
#include <SDL3/SDL_main.h>
|
||||
|
||||
void
|
||||
SDL_AppQuit(void *appstate, SDL_AppResult result)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SDL_AppResult
|
||||
SDL_AppEvent(void *appstate, SDL_Event *event)
|
||||
{
|
||||
return SDL_APP_SUCCESS;
|
||||
}
|
||||
|
||||
SDL_AppResult
|
||||
SDL_AppIterate(void *appstate)
|
||||
{
|
||||
return SDL_APP_SUCCESS;
|
||||
}
|
||||
|
||||
SDL_AppResult
|
||||
SDL_AppInit(void **appstate, int argc, char **argv)
|
||||
{
|
||||
return SDL_APP_SUCCESS;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue