CC = gcc CFLAGS = -Wall -pedantic LIBS = `pkg-config --libs --cflags gtk+-2.0 libglade-2.0` all: tutorial tutorial: tutorial.c $(CC) $(CFLAGS) $@.c $(LIBS) -o $@ clean: -rm tutorial