mirror of
https://gitlab.com/octospacc/BloccSpacc
synced 2024-12-12 16:26:44 +01:00
16 lines
300 B
Makefile
16 lines
300 B
Makefile
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)
|