#
#  XingMP3
#
# (This makefile for "towave" hacked together by -AJA-)

CC=gcc
CFLAGS=-O3 -Wall

#.c.o:
#	gcc -I../include -I../../../config -c $< -o $@
#.asm.asm1:
#	/usr/bin/perl -pe 's/\b_//g' $< > $@
#
#.asm1.o:
#	nasm -f elf -o $@ $<

XING_C_OBJS = cdct.o cupl3.o hwin.o iup.o l3init.o msis.o wavep.o \
  csbt.o cwinm.o icdct.o mdct.o uph.o cup.o dec8.o isbt.o l3dq.o \
  mhead.o upsf.o iwinm.o towave.o

# assembly lang code, if we need it
# XING_C_OBJS += 

towave: $(XING_C_OBJS)
	$(CC) $(CFLAGS) $(XING_C_OBJS) -o $@ -lm

clean:
	rm -f $(XING_C_OBJS) towave

.PHONY: clean

