revolt-game/Makefile

24 lines
324 B
Makefile

# 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