Initial commit

This commit is contained in:
pompom 2023-12-06 23:47:41 +01:00
commit fec75f15a5
5 changed files with 47 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.o
revolt_game

13
COPY Normal file
View File

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

23
Makefile Normal file
View File

@ -0,0 +1,23 @@
# The work of pompom, released under the WTFPL (see COPY)
CC = cc
CFLAGS = -std=c11 -Wall -Wextra
SRC =
OBJ = $(SRC:%.c=%.o)
include ./inc.mak
.PHONY: clean all
all: revolt_game
revolt_game: $(OBJ)
$(CC) $(CFLAGS) -o revolt_game $(OBJ)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
# util
clean:
rm -rf $(OBJ) revolt_game

1
inc.mak Normal file
View File

@ -0,0 +1 @@
SRC += main.c

8
main.c Normal file
View File

@ -0,0 +1,8 @@
/* The work of pompom, released under the WTFPL (see COPY) */
#include <stdio.h>
int main(void)
{
return 0;
}