diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-12 19:28:01 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-13 08:00:24 +0200 |
commit | 6c4024c04a354b39c89e453f281d5d67c69e22a3 (patch) | |
tree | 3a2098b7c7b29783361d1b108c3b0a1ff8221cbe /Servers/AudioServer/Makefile | |
parent | 6e671f78a82bc3d9785bd35307cec72a84b6dcda (diff) | |
download | serenity-6c4024c04a354b39c89e453f281d5d67c69e22a3.zip |
Kernel: First cut of a sb16 driver
Also add an AudioServer that (right now) doesn't do much.
It tries to open, parse, and play a wav file. In the future, it can do more.
My general thinking here here is that /dev/audio will be "owned" by AudioServer,
and we'll do mixing in software before passing buffers off to the kernel
to play, but we have to start somewhere.
Diffstat (limited to 'Servers/AudioServer/Makefile')
-rw-r--r-- | Servers/AudioServer/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Servers/AudioServer/Makefile b/Servers/AudioServer/Makefile new file mode 100644 index 0000000000..3e36a18acd --- /dev/null +++ b/Servers/AudioServer/Makefile @@ -0,0 +1,23 @@ +include ../../Makefile.common + +AUDIOSERVER_OBJS = \ + main.o + +APP = AudioServer +OBJS = $(AUDIOSERVER_OBJS) + +DEFINES += -DUSERLAND + +all: $(APP) + +$(APP): $(OBJS) + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore + +.cpp.o: + @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< + +-include $(OBJS:%.o=%.d) + +clean: + @echo "CLEAN"; rm -f $(APP) $(OBJS) *.d + |