all: tetris LIBS=$(shell gtk-config --libs) CC=gcc -Wall $(shell gtk-config --cflags) tetris: tetris.o $(CC) -o tetris tetris.o $(LIBS) %.o: %.c Makefile $(CC) -c $<