# Generated automatically from Makefile.in by configure.
# GNU Makefile for the X11 part of the PTC 2.0 C++ API
# Copyright (c) 1998 Christian Nentwich (brn@eleet.mcb.at)
# The PTC 2.0 C++ API is (c) 1998 Glenn Fiedler (ptc@gaffer.org)
# This package is licensed under the GNU LGPL
#
# Please refer to the file COPYING.LIB contained in the distribution for
# licensing conditions 
#
# 
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#    YOU DO NOT HAVE TO EDIT THIS FILE. DO THAT ONLY IF YOU KNOW WHAT YOU
#                                 ARE DOING !
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

include ../../../Makefile.config

# Source files
CPPFILES = Copy.cpp Converter_C.cpp Converter_x86.cpp Converter_mmx.cpp
OBJFILES = Copy.o Converter_C.o Converter_x86.o Converter_mmx.o
ASMOBJ = x86_32.o mmx_32.o

ASM = nasm
ASMFLAGS = -f elf

# By default
all: cobjects asmobjects

cobjects: $(OBJFILES)
asmobjects: $(ASMOBJ)

%.o: %.cpp
	$(CC) -c -I.. $(CFLAGS) $<

%.o: %.asm
	$(ASM) $(ASMFLAGS) $<

depend:	
	$(CC) -M -I.. $(CFLAGS) $(CPPFILES) >.depend

clean:
	rm -f *.o

ifeq (.depend,$(wildcard .depend))
include .depend
endif

