Initial commit.
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
CC=clang
|
||||
FLAGS=-Wall -Wextra -g
|
||||
LIBS=-I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -L/opt/homebrew/lib -lSDL2 -lSDL2_ttf
|
||||
|
||||
all: clean build
|
||||
|
||||
build: pingpong
|
||||
|
||||
pingpong: pingpong.c
|
||||
${CC} ${FLAGS} ${LIBS} pingpong.c -o pingpong
|
||||
|
||||
clean:
|
||||
rm -rf pingpong.dSYM pingpong
|
||||
|
||||
.PHONY: build clean
|
||||
Reference in New Issue
Block a user