retrofw-jiljil/Makefile

18 lines
365 B
Makefile
Raw Permalink Normal View History

2021-07-01 14:49:46 +00:00
CC := gcc
CFLAGS := `sdl-config --libs --cflags` -ggdb3 -O0 --std=c99 -Wall -lSDL_image -lSDL_mixer -lm
HDRS :=
SRCS := src/main.c src/match.c src/graphics.c src/logic.c src/keys.c src/audio.c
OBJS := $(SRCS:.c=.o)
EXEC := jiljil.dge
all: $(EXEC)
$(EXEC): $(OBJS) $(HDRS) Makefile
$(CC) -o $@ $(OBJS) $(CFLAGS)
clean:
rm -f $(EXEC) $(OBJS)
.PHONY: all clean