#
# The compiler (usually gcc/egcs; cc should work on almost every system.)
#
CC = cc
MAKE = make
#
# used for cleanup ;-)
# 
RM = rm -rf
#
# Compiler-options definition:
#
CFLAGS = -O3 -Wall -pedantic 
LINKFLAGS = -L/usr/X11/lib/
# 
# list of all objects to compile before linking
#
OBJS = test_3dnow.o
#
# the main target file:
#
TARGET = test_3dnow 
#
# suffixes-definition:
#
.c.o: 
	$(CC) -c $(CFLAGS) $< -o $@
#
#  compile & link
#
$(TARGET): ${OBJS}; $(CC) ${LINKFLAGS} ${OBJS} -o $(TARGET)
#
#
clean:
	$(RM) ${OBJS} $(TARGET)
