Initial commit basically lol
This commit is contained in:
parent
e29921d9c9
commit
6d77491228
5 changed files with 316 additions and 2 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
makeCC = gcc
|
||||
CFLAGS = -Wall -Wextra -std=c11 $(shell sdl2-config --cflags)
|
||||
LDFLAGS = $(shell sdl2-config --libs) -lSDL2_image -lSDL2_ttf -lSDL2_mixer
|
||||
|
||||
TARGET = game
|
||||
SRC = src/main.c
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(SRC)
|
||||
$(CC) $(CFLAGS) $(SRC) -o $(TARGET) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
Loading…
Add table
Add a link
Reference in a new issue