CC = gcc CFLAGS = -Os -Wall LDFLAGS = -Wl,--as-needed `sdl-config --cflags --libs` DEFINES = OUTPUT = llcpcls SOURCES = llcpcls.c OBJS = ${SOURCES:.c=.o} ${OUTPUT}:${OBJS} ${CC} -o ${OUTPUT} ${SOURCES} ${CFLAGS} ${LDFLAGS} ${DEFINES} strip ${OUTPUT} clean: rm *.o rm ${OUTPUT}