CC = gcc
CFLAGS += ${shell sdl-config --cflags} -O2 -fomit-frame-pointer -Wall -pipe -std=gnu99 -pedantic
LIBS = ${shell sdl-config --libs}

SRCS = main.c
OBJS = $(SRCS:.c=.o)

ht10oe-invitation: $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
	strip --strip-all $@$(EXT)
	rm -f *.o

.c.o:
	$(CC) $(CFLAGS) -c $< -o $*.o
