Skip to content
Snippets Groups Projects
Commit d23f1bb3 authored by Barnabás Czémán's avatar Barnabás Czémán
Browse files

Merge branch 'master' of git.sch.bme.hu:barni2000/minesweeper2d

new key
parents 6ae0f011 472c99db
No related branches found
No related tags found
No related merge requests found
README 0 → 100644
Minesweeper2D
Leírás:
C-ben írt keresztplatformos akankereső játék.
Telepítés:
Linux & Unix:
make
Windows:
egyéni fordítás szükséges
Futtatás:
./minesweeper2d
Függöségek:
SDL 1.2
SDLgfx
\ No newline at end of file
makefile 0 → 100644
CC=gcc
CFLAGS=-c -Wall `sdl-config --cflags`
LDFLAGS=`sdl-config --libs` -lSDL_gfx -lSDL_ttf -lSDL_image -lm
SOURCES=main.c init.c colors.c label.c button.c menu.c field.c table.c input.c game.c highscore.c
OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=minesweeper2d
all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
.c.o:
$(CC) $(CFLAGS) $< -o $@
clean:
rm -Rf *.o $(EXECUTABLE) @
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment