CC=gcc STRIP=strip WARN=-Wall -W -ansi -pedantic CFLAGS=-Os -pipe -std=c99 ${WARN} LDFLAGS=-Wl,-O1,-s INCLUDES=`sdl-config --cflags` LIBRARIES=`sdl-config --libs` -lSDL_image -lGL -lGLU EXT=.exe EXE=glpong3d${EXT} OBJS=glpong3d.o all: ${OBJS} ${CC} ${LDFLAGS} ${OBJS} -o ${EXE} ${LIBRARIES} clean: rm -f ${OBJS} rm -f ${EXE} rebuild: clean all remake: rebuild %.o: %.c ${CC} ${CFLAGS} ${INCLUDES} -c -o $@ $<