Initial commit
This commit is contained in:
commit
fec75f15a5
|
@ -0,0 +1,2 @@
|
|||
*.o
|
||||
revolt_game
|
|
@ -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.
|
|
@ -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
|
Loading…
Reference in New Issue