BloccSpacc/Makefile

16 lines
300 B
Makefile
Raw Normal View History

2022-08-01 23:11:07 +02:00
AppName = BloccSpacc
ExeName = $(AppName).exe
Sources = $(wildcard Source/*.c)
Objects = $(Sources:.c=.o)
CFlags = -O2
LdFlags = -lSDL -lSDL_gfx -lSDL_image -lSDL_mixer -lSDL_ttf
all: $(AppName)
$(AppName): $(Objects)
$(CC) $^ $(CFlags) $(LdFlags) -o $(ExeName)
clean:
rm Source/*.o $(ExeName)