# Generated automatically from Makefile.in by configure.
#
# Makefile.in for UAE
#
# NOTES:
# -malign-loops=0 -malign-jumps=0 -malign-functions=0 
CC        = gcc
CPP       = cpp
# Add -Xlinker -s to strip debug symbols
LDFLAGS   = -Xlinker -s -Xlinker --subsystem -Xlinker console
LDFLAGS2  = -Xlinker -s -Xlinker --subsystem -Xlinker windows
CFLAGS    = -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -DSTATIC_INLINE='static inline' -D__inline__=inline -DWIN32_LEAN_AND_MEAN
#CFLAGS    = -mcpu=pentium -march=pentium -O3 -malign-loops=0 -malign-jumps=0 -malign-functions=0 -finline-functions -fno-builtin -fomit-frame-pointer -fno-exceptions -fno-strength-reduce -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -DGCCCONSTFUNC="__attribute__((const))" -DUSE_UNDERSCORE -DREGPARAM="__attribute__((regparm(3)))" -DSTATIC_INLINE='static inline' -D__inline__=inline -DWIN32_LEAN_AND_MEAN
X_CFLAGS  =
DEBUGFLAGS = 
TARGET    = testsound
LIBRARIES = -lcomctl32 -lcomdlg32 -lgdi32 -ladvapi32 -lshell32 -lwinmm
MATHLIB   = 

NO_SCHED_CFLAGS = -mno-schedule-prologue

.SUFFIXES: .o .c .h .m .i .S .rc .res

.SECONDARY: p2c.c p2c.h cpuemu.c cpustbl.c cputbl.h

OBJS = win32.o sound.o

all: $(TARGET)

testsound: progs

progs: testsound.exe

testsound.exe: $(OBJS) $(RESOBJ)
	$(CC) $(OBJS) $(RESOBJ) -o testsound.exe $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES)

clean:
	-rm -f $(OBJS) *.o progs $(RESOBJ)
