Mercurial > pmdwin
view Makefile @ 9:4e34698c666b
Remove the embedded udivdi3 implementation.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 08 Sep 2014 17:28:09 +0200 |
parents | ceda140f42fb |
children | e3849cd10ad3 |
line wrap: on
line source
CC = gcc CFLAGS += -Ifmgen -Wall -pipe -O2 -fno-math-errno -fno-omit-frame-pointer -fno-asynchronous-unwind-tables CXXFLAGS += -Ifmgen -Wall -Wno-write-strings -pipe -O2 -fno-math-errno -fno-exceptions -fno-rtti -fno-omit-frame-pointer -fno-asynchronous-unwind-tables # Uncomment exactly one of the following: AUDIO_DRV = oss_audio.o # AUDIO_DRV = alsa_pcm_api.o # CFLAGS += -DUSE_ALSA=1 # AUDIO_DRV = wave_out.o all: pmdwin libpmdwin.so %.o: %.c $(CC) $(CFLAGS) -c $< %.o: %.cpp $(CXX) $(CXXFLAGS) -c $< clean: $(RM) *.o pmdwin libpmdwin.so pmdwin: pmd_play.o libpmdwin.so $(CC) -L. -lpmdwin -o $@ pmd_play.o libpmdwin.so: pmdwin.o table.o lfg.o $(AUDIO_DRV) fmgen.o $(CC) -shared -o $@ $^