Created
October 20, 2019 15:31
-
-
Save Wes974/462fb7253a15812395871e95a8d7a28c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
CC=gcc | |
CPPFLAGS=-MMD -D_XOPEN_SOURCE=500 `pkg-config --cflags sdl2 gtk+-3.0` | |
ERROR_CFLAiR=-Wall -Wextra -std=c99 -g | |
LDFLAGS= | |
LDLIBS=`pkg-config --libs sdl2 gtk+-3.0` -lSDL2_image -lm -export-dynamic -lm | |
SRC= line.c | |
DEP= ${SRC:.c=.d} | |
PRG= ${SRC:.c=} | |
all: ${PRG} | |
-include ${DEP} | |
clean: | |
rm -f *.o | |
rm -f ${DEP} | |
rm -f ${PRG} | |
# END Makefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment